Skip to content

Commit

Permalink
Update GitHub Pages starter workflow (#2023)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring committed Mar 23, 2023
1 parent 2964c2d commit a54927a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions content/en/hosting-and-deployment/hosting-on-github/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,11 @@ permissions:
pages: write
id-token: write

# Allow one concurrent deployment
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: true
cancel-in-progress: false

# Default to bash
defaults:
Expand All @@ -102,7 +103,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.111.2
HUGO_VERSION: 0.111.3
steps:
- name: Install Hugo CLI
run: |
Expand Down Expand Up @@ -145,7 +146,7 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v2
{{< /code >}}

Step 7
Expand Down

0 comments on commit a54927a

Please sign in to comment.