Skip to content

Commit 5a2caa5

Browse files
authored
Update hugo.yml
1 parent fd2dc1f commit 5a2caa5

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

Diff for: .github/workflows/hugo.yml

+10-9
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ permissions:
1515
pages: write
1616
id-token: write
1717

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

2324
# Default to bash
2425
defaults:
@@ -30,21 +31,21 @@ jobs:
3031
build:
3132
runs-on: ubuntu-latest
3233
env:
33-
HUGO_VERSION: 0.119.0
34+
HUGO_VERSION: 0.124.1
3435
steps:
3536
- name: Install Hugo CLI
3637
run: |
3738
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
3839
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
39-
- name: Install Dart Sass Embedded
40-
run: sudo snap install dart-sass-embedded
40+
- name: Install Dart Sass
41+
run: sudo snap install dart-sass
4142
- name: Checkout
42-
uses: actions/checkout@v3
43+
uses: actions/checkout@v4
4344
with:
4445
submodules: recursive
4546
- name: Setup Pages
4647
id: pages
47-
uses: actions/configure-pages@v2
48+
uses: actions/configure-pages@v5
4849
- name: Install Node.js dependencies
4950
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
5051
- name: Build with Hugo
@@ -57,7 +58,7 @@ jobs:
5758
--minify \
5859
--baseURL "${{ steps.pages.outputs.base_url }}/"
5960
- name: Upload artifact
60-
uses: actions/upload-pages-artifact@v1
61+
uses: actions/upload-pages-artifact@v3
6162
with:
6263
path: ./public
6364

@@ -71,4 +72,4 @@ jobs:
7172
steps:
7273
- name: Deploy to GitHub Pages
7374
id: deployment
74-
uses: actions/deploy-pages@v1
75+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)