Skip to content

Commit

Permalink
デプロイ修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenshin0011 committed Jun 14, 2024
1 parent 4b28feb commit f243503
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,17 @@ jobs:
cd front
npm run build
- name: Configure git
run: |
git config --global user.name 'github-actions'
git config --global user.email '[email protected]'
- name: Deploy to GitHub Pages
run: |
cd front
npm run deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
# keep_filesをtrueにすると、git pushの度に一旦全てのファイルが削除される挙動を抑制できる
# keep_files: true
user_name: github-actions
user_email: [email protected]

0 comments on commit f243503

Please sign in to comment.