diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index de04daa5..12c8bae9 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -3,7 +3,7 @@ name: github pages on: push: branches: - - gh-pages # Set a branch to deploy + - gh-pages-src # Set a branch to deploy pull_request: jobs: @@ -26,7 +26,7 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/gh-pages' with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./public