Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbuehlmann committed Jul 22, 2024
1 parent 55125c9 commit d7ad419
Show file tree
Hide file tree
Showing 2 changed files with 466 additions and 453 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: sphinx
on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

env:
DEFAULT_BRANCH: "master"
Expand Down Expand Up @@ -147,8 +151,9 @@ jobs:
# Deploy
# https://github.com/peaceiris/actions-gh-pages
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' }}
uses: peaceiris/actions-gh-pages@v4
# if: ${{ github.event_name == 'push' }}
if: github.ref == 'refs/heads/master'
#if: ${{ success() && github.event_name == 'push' && github.ref == 'refs/heads/$defaultBranch' }}
with:
publish_branch: gh-pages
Expand Down
Loading

0 comments on commit d7ad419

Please sign in to comment.