mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 17:34:44 -04:00
Update GitHub Pages starter workflow (#2023)
Upstream changes: - https://github.com/actions/starter-workflows/pull/1984 - https://github.com/actions/starter-workflows/pull/1991
This commit is contained in:
parent
2964c2d44a
commit
a54927a7f4
@ -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:
|
||||
@ -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: |
|
||||
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user