From 476b51ee31e793d3b1d5afc90c7c0b7b1a6cf98a Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Mon, 19 Sep 2022 22:40:04 +0200 Subject: [PATCH] fix deployment permissions --- .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 86b47ed2..580f7338 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,6 +7,7 @@ permissions: contents: read pages: write id-token: write + deployments: write # Allow one concurrent deployment concurrency: @@ -16,6 +17,9 @@ concurrency: jobs: build: runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v3 @@ -36,7 +40,7 @@ jobs: with: # Upload entire repository path: "./out" - + - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v1