We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 944ddc3 commit bcd75b6Copy full SHA for bcd75b6
.github/workflows/gh-pages.yml
@@ -38,11 +38,8 @@ jobs:
38
build:
39
runs-on: ubuntu-latest
40
env:
41
- HUGO_VERSION: "0.112.4"
+ HUGO_VERSION: ${{ github.event.inputs.hugoVersion || '0.112.4' }}
42
steps:
43
- - name: Check version
44
- if: ${{ github.event.inputs.hugoVersion }}
45
- run: export HUGO_VERSION="${{ github.event.inputs.hugoVersion }}"
46
- name: Install Hugo CLI
47
run: |
48
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.deb \
0 commit comments