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