Skip to content

Commit

Permalink
add gh-pages deployment test
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasBeuzen committed Oct 2, 2020
1 parent b115be2 commit a73f4ea
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,11 @@ jobs:
run: |
cookiecutter . --no-input --overwrite-if-exists
pip install -r my_book/requirements.txt
jupyter-book build my_book/my_book/
jupyter-book build my_book/my_book/
# Push example book to gh-pages-test
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v3.6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: my_book/my_book/_build/html
publish_branch: gh-pages-test

0 comments on commit a73f4ea

Please sign in to comment.