From b38a6e6dc6d30497ea36806fc6430e226b6cf00d Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Mon, 20 Nov 2023 01:38:00 -0700 Subject: [PATCH] fix placement of environment key in publish workflow --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 526c63e9..3cb9e6c4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,11 +5,8 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: concurrency: - group: pages + group: github-pages cancel-in-progress: true -environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read @@ -18,6 +15,9 @@ permissions: jobs: build: runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} steps: - name: Checkout uses: actions/checkout@v4