diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 66b26df2..cb87526c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,6 +15,9 @@ concurrency: cancel-in-progress: true jobs: deploy: + permissions: + pages: write; + id-token: write; environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} @@ -26,7 +29,6 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - cache: 'npm' - name: Install dependencies run: npm install - name: Build @@ -34,7 +36,7 @@ jobs: - name: Setup Pages uses: actions/configure-pages@v4 - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v4 with: path: './build' - name: Deploy to GitHub Pages