Skip to content

Commit c911b1b

Browse files
committed
add workflow comments
1 parent 2efde18 commit c911b1b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/hugo.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ name: Deploy Hugo site to Pages
44
on:
55
# Runs on pushes targeting the default branch
66
push:
7+
# you can add more branches to the list
78
branches: ["main"]
89

910
# Allows you to run this workflow manually from the Actions tab
@@ -31,12 +32,15 @@ jobs:
3132
build:
3233
runs-on: ubuntu-latest
3334
env:
34-
HUGO_VERSION: 0.141.0
35+
# Update to the release compatible with your theme
36+
# https://github.com/gohugoio/hugo/releases/latest
37+
HUGO_VERSION: 0.143.0
3538
steps:
3639
- name: Install Hugo CLI
3740
run: |
3841
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
3942
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
43+
# Dart Sass is optional, check if your themes/modules really need it
4044
- name: Install Dart Sass
4145
run: sudo snap install dart-sass
4246
- name: Checkout

0 commit comments

Comments
 (0)