Skip to content

Commit

Permalink
Merge pull request #47 from ImperialCollegeLondon/fix-benchmark-plot
Browse files Browse the repository at this point in the history
Add keep_files command for dev/bench
  • Loading branch information
tomjholland authored Jun 5, 2024
2 parents 3266a03 + 38d226c commit bf3a21c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
# Use personal access token instead of GITHUB_TOKEN due to https://github.community/t/github-action-not-triggering-gh-pages-upon-push/16096
github-token: ${{ secrets.GITHUB_TOKEN }}
# Push and deploy GitHub pages branch automatically
auto-push: true
auto-push: true
4 changes: 3 additions & 1 deletion .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ jobs:
path: docs/build/html/

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html
keep_files: |
dev/bench

0 comments on commit bf3a21c

Please sign in to comment.