We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3b6b8c7 + f55047f commit 2453c46Copy full SHA for 2453c46
.github/workflows/build.yaml
@@ -36,7 +36,7 @@ jobs:
36
run: npm run build
37
38
- name: Upload artifact
39
- uses: actions/upload-pages-artifact@v3
+ uses: actions/upload-artifact@v4
40
with:
41
name: github-pages-${{ github.run_id }}
42
path: ./build
@@ -46,8 +46,11 @@ jobs:
46
needs: build
47
runs-on: ubuntu-latest
48
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
49
+ permissions:
50
+ pages: write # to deploy to Pages
51
+ id-token: write # to verify the deployment originates from an appropriate source
52
environment:
- name: github-pages
53
+ name: github-pages-${{ github.run_id }}
54
url: ${{ steps.deployment.outputs.page_url }}
55
steps:
56
- name: Deploy to GitHub Pages
0 commit comments