Skip to content

Commit ce4032c

Browse files
authored
using HUGO_VERSION variable
1 parent da32c21 commit ce4032c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/hugo.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,10 @@ jobs:
2929
# Build job
3030
build:
3131
runs-on: ubuntu-latest
32-
env:
33-
HUGO_VERSION: 0.102.3
3432
steps:
3533
- name: Install Hugo CLI
3634
run: |
37-
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb \
35+
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${{ vars.HUGO_VERSION }}/hugo_extended_${{ vars.HUGO_VERSION }}_Linux-64bit.deb \
3836
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
3937
- name: Checkout
4038
uses: actions/checkout@v3

0 commit comments

Comments
 (0)