Skip to content

Commit

Permalink
Transferred the github action to master
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias157 committed Sep 19, 2024
1 parent fc45054 commit bd7d528
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Build documentation
on:
push:
branches: [ create_tutorial ]
branches: [ master ]
pull_request:
branches: [ create_tutorial ]
branches: [ master ]

permissions:
contents: write
Expand Down Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/create_tutorial' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit bd7d528

Please sign in to comment.