Skip to content

Commit

Permalink
fix wrong branch in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Miepee committed Aug 29, 2024
1 parent 0095434 commit 622f979
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: github pages
on:
push:
branches:
- master # Set a branch to deploy
- main # Set a branch to deploy
pull_request:
workflow_dispatch:

Expand All @@ -30,7 +30,7 @@ jobs:

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
publish_dir: ./public

0 comments on commit 622f979

Please sign in to comment.