Skip to content

Commit

Permalink
changes last bit of workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddesancho committed Nov 17, 2024
1 parent 068f02a commit 5b5b583
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/gh-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,21 @@ jobs:
run: |
jupyter-book build .
# Upload the book's HTML as an artifact
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
- name: Push html to github-pages
uses: peaceiris/actions-gh-pages@v3.9.0
with:
path: "_build/html"
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build/html
force_orphan: true

# Deploy the book's HTML to GitHub Pages
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
# # Upload the book's HTML as an artifact
# - name: Upload artifact
# uses: actions/upload-pages-artifact@v2
# with:
# path: "_build/html"
#
# # Deploy the book's HTML to GitHub Pages
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v2

0 comments on commit 5b5b583

Please sign in to comment.