From 8031d6cd3e7bf900e2aa4d97a9e38cfd057acb20 Mon Sep 17 00:00:00 2001 From: David Perera Date: Fri, 26 Apr 2024 09:25:43 +0200 Subject: [PATCH 1/2] Update deploy.yml --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 66b26df2..d38fe752 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 From 3fb9ab39cd92bf32cc705f6035ce321d9e9e9b64 Mon Sep 17 00:00:00 2001 From: David Perera Date: Fri, 26 Apr 2024 09:31:09 +0200 Subject: [PATCH 2/2] Update deploy.yml --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d38fe752..cb87526c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,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