From 3cc949ec5ff48024a23ae6f789f88c9d7a6ec281 Mon Sep 17 00:00:00 2001 From: niclaz <83479948+niclaz@users.noreply.github.com> Date: Thu, 5 Sep 2024 17:47:10 +0200 Subject: [PATCH] Fixing actions/upload-artifact entry in deploy.yml --- .github/workflows/deploy.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b0c2595..93e57d2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,6 +14,7 @@ on: # Allow this job to clone the repo and create a page deployment permissions: + actions: read contents: read pages: write id-token: write @@ -48,15 +49,19 @@ jobs: - name: Upload Pages artifact uses: actions/upload-artifact@v4 with: - path: ./dist - + name: W3PN-artifact + path: ~/pre-deploy-artifact-upload/ + if-no-files-found: warn + retention-days: 80 + overwrite: true + deploy: needs: build runs-on: ubuntu-latest environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - steps: + steps: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4