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