diff --git a/.github/workflows/auto.yml b/.github/workflows/auto.yml index c78bf2660f9..baab9e5b4af 100644 --- a/.github/workflows/auto.yml +++ b/.github/workflows/auto.yml @@ -5,6 +5,9 @@ on: branches: - develop +permissions: + contents: write + jobs: build-and-deploy: runs-on: ubuntu-latest @@ -25,7 +28,6 @@ jobs: run: npm run build - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 + uses: JamesIves/github-pages-deploy-action@v4 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./build + folder: ./build