Skip to content

Commit

Permalink
Update gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcua authored Mar 4, 2023
1 parent 71d3574 commit 0b0fb6e
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Pages
uses: actions/configure-pages@v3
- name: Set up mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: 'latest'

- run: mdbook build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'book'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book

0 comments on commit 0b0fb6e

Please sign in to comment.