Skip to content

Commit

Permalink
Modify the action to check main branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkokada committed Jun 6, 2024
1 parent 48ced63 commit f06b6a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cp index.html build/html/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/feature/gh-pages' }}
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/feature/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit f06b6a9

Please sign in to comment.