diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index ba009e2..9472720 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -3,6 +3,8 @@ on: push: branches: - main +permissions: + contents: write jobs: build-and-deploy: runs-on: ubuntu-latest @@ -21,8 +23,6 @@ jobs: - name: Build run: npm run build:example - name: Deploy - uses: JamesIves/github-pages-deploy-action@releases/v3 + uses: JamesIves/github-pages-deploy-action@v4 with: - ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} - BRANCH: gh-pages - FOLDER: example-dist + folder: example-dist