Skip to content

Commit

Permalink
fix placement of environment key in publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Nov 20, 2023
1 parent 979723e commit b38a6e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b38a6e6

Please sign in to comment.