Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add sphinx documentation to gh pages #400

Merged
merged 3 commits into from
Jan 30, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
change docs publish condition to use version tags
  • Loading branch information
karosc committed Jan 26, 2023
commit af5596eaa891a3915257108c451b83f601f45fb2
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
# deploy docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
# only deploy if pushing to master or merging PR into master
if: ${{ github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event.pull_request.merged == true)}}
# only deploy if tagging a new version
if: startsWith(github.event.ref, 'refs/tags/v')
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down