Skip to content

Commit

Permalink
Push to GitHub Pages also
Browse files Browse the repository at this point in the history
  • Loading branch information
firasm authored Sep 5, 2024
1 parent 9df39e8 commit c111c36
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@ jobs:
- name: Build the book
run: |
jupyter-book build .
# Push the book's HTML to github-pages
- name: GitHub Pages action
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html

# Push to CS server
- name: rsync and ssh to CS
Expand Down

0 comments on commit c111c36

Please sign in to comment.