-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the book buiding to separate dev and master
- Loading branch information
Thomas Finnie
committed
Aug 5, 2024
1 parent
a70fca0
commit 3089346
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,8 +54,16 @@ jobs: | |
# deploy book to github-pages | ||
- name: GitHub Pages | ||
uses: peaceiris/[email protected] | ||
uses: peaceiris/actions-gh-pages@v4 | ||
if: github.ref == 'refs/heads/main' | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: docs/_build/html | ||
|
||
# deploy book to github-pages dev | ||
- name: GitHub Pages dev | ||
uses: peaceiris/actions-gh-pages@v4 | ||
if: github.ref == 'refs/heads/dev' | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: docs/_build/html | ||
destination_dir: dev |