We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 409aeca commit 87ff3b8Copy full SHA for 87ff3b8
.github/workflows/docs.yml
@@ -10,6 +10,8 @@ on:
10
jobs:
11
build:
12
runs-on: ubuntu-latest
13
+ env:
14
+ HUGO_VERSION: 0.122.0
15
steps:
16
- name: Checkout
17
uses: actions/checkout@v4
@@ -19,7 +21,11 @@ jobs:
19
21
node-version: ''
20
22
- name: Setup Hugo
23
run: |
- sudo apt install -y hugo
24
+ wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
25
+ && sudo dpkg -i ${{ runner.temp }}/hugo.deb
26
+ - name: Setup Pages
27
+ id: pages
28
+ uses: actions/configure-pages@v5
29
- name: Build Hugo Docs
30
31
cd src/docs
@@ -42,4 +48,3 @@ jobs:
42
48
- name: Deploy to GitHub Pages
43
49
id: deployment
44
50
uses: actions/deploy-pages@v4
45
-
0 commit comments