diff --git a/.github/workflows/auto-deploy-pages.yml b/.github/workflows/auto-deploy-pages.yml index 8947dc4..9ce7364 100644 --- a/.github/workflows/auto-deploy-pages.yml +++ b/.github/workflows/auto-deploy-pages.yml @@ -21,10 +21,9 @@ jobs: - name: Install dependencies run: npm install - - name: Setup git - run: | - git config --global user.email "github-actions[bot]@users.noreply.github.com" - git config --global user.name "github-actions[bot]" - - - name: Run deploy script - run: npm run deploy \ No newline at end of file + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./build + publish_branch: gh-pages \ No newline at end of file