This commit is contained in:
lumapu 2022-10-27 22:13:50 +02:00
parent 35e5315394
commit c53d864ae5

View file

@ -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