From d5ed2a6443d7a577da04841bff611ea5cff439ff Mon Sep 17 00:00:00 2001 From: jankapunkt Date: Thu, 6 Feb 2025 10:45:30 +0100 Subject: [PATCH] ci: upgrade setup-pages action to v5 --- .github/workflows/deploy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 82a863b..290c419 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -42,7 +42,7 @@ jobs: node-version: 20 cache: npm # or pnpm / yarn - name: Setup Pages - uses: actions/configure-pages@v4 + uses: actions/configure-pages@v5 - name: Install dependencies run: npm ci # or pnpm install / yarn install / bun install - name: Build with VitePress @@ -54,6 +54,10 @@ jobs: # Deployment job deploy: + # Grant GITHUB_TOKEN the permissions required to make a Pages deployment + permissions: + pages: write # to deploy to Pages + id-token: write # to verify the deployment originates from an appropriate source environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}