Skip to content

Commit

Permalink
Testing build
Browse files Browse the repository at this point in the history
  • Loading branch information
wilwade committed Mar 28, 2024
1 parent d093013 commit f5fad71
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/deploy-gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- main
- chore/setup-pages-deploy
workflow_dispatch:

permissions:
Expand All @@ -29,21 +30,21 @@ jobs:

- name: Build with mdBook
working-directory: docs
run: mdbook build
run: mdbook build && ls -la book/html

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/book/html

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
# deploy:
# environment:
# name: github-pages
# url: ${{ steps.deployment.outputs.page_url }}
# runs-on: ubuntu-latest
# needs: build
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v4

0 comments on commit f5fad71

Please sign in to comment.