Skip to content

Commit f3b7ebc

Browse files
committed
update hugo during build
1 parent 1b46fa4 commit f3b7ebc

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
- main
66
pull_request:
77

8+
permissions:
9+
contents: write
10+
pages: write
11+
id-token: write
12+
813
jobs:
914
deploy:
1015
runs-on: ubuntu-latest
@@ -23,7 +28,7 @@ jobs:
2328

2429
- name: Setup Hugo
2530
run: |
26-
curl -L -o /tmp/hugo.tar.gz 'https://github.com/gohugoio/hugo/releases/download/v0.142.0/hugo_extended_0.142.0_linux-amd64.tar.gz'
31+
curl -L -o /tmp/hugo.tar.gz 'https://github.com/gohugoio/hugo/releases/download/v0.150.0/hugo_extended_0.150.0_linux-amd64.tar.gz'
2732
tar -C ${RUNNER_TEMP} -zxvf /tmp/hugo.tar.gz hugo
2833
- name: Build
2934
run: ${RUNNER_TEMP}/hugo

0 commit comments

Comments
 (0)