1
0

fix gh-actions

This commit is contained in:
2025-07-18 16:10:55 +09:00
parent 2a698fa9af
commit 8fa9747847

View File

@@ -4,15 +4,10 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
types: [closed]
jobs:
build-deploy:
runs-on: ubuntu-latest
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.merged == true)
steps:
- uses: actions/checkout@v4
with:
@@ -31,7 +26,7 @@ jobs:
npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist