Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wntjd-0612 authored May 31, 2024
1 parent 07688ba commit 0fb9a10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@ jobs:
run: npm run build

- name: Deploy to GitHub Pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git worktree add gh-pages
git worktree add gh-pages origin/gh-pages
cp -r build/* gh-pages/
cd gh-pages
git add .
Expand Down

0 comments on commit 0fb9a10

Please sign in to comment.