Update Hugo version on CI
This commit is contained in:
parent
c39881117e
commit
0954b40836
2 changed files with 1 additions and 22 deletions
21
.build.yml
21
.build.yml
|
@ -1,21 +0,0 @@
|
||||||
image: alpine/edge
|
|
||||||
packages:
|
|
||||||
- rsync
|
|
||||||
- git
|
|
||||||
- hugo
|
|
||||||
- reuse
|
|
||||||
sources:
|
|
||||||
- https://git.sr.ht/~redstrate/redstrate.com
|
|
||||||
secrets:
|
|
||||||
- b748582a-5d31-4fe8-94d6-4a63035e97aa
|
|
||||||
tasks:
|
|
||||||
- build: |
|
|
||||||
cd redstrate.com
|
|
||||||
hugo --minify
|
|
||||||
- deploy: |
|
|
||||||
cd redstrate.com
|
|
||||||
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
|
|
||||||
rsync -e 'ssh -p 38901' -Wvr public/ deploy@ryne.moe:/srv/http/redstrate.com
|
|
||||||
- reuse: |
|
|
||||||
cd redstrate.com
|
|
||||||
reuse lint
|
|
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
||||||
- name: Setup Hugo
|
- name: Setup Hugo
|
||||||
uses: peaceiris/actions-hugo@v3
|
uses: peaceiris/actions-hugo@v3
|
||||||
with:
|
with:
|
||||||
hugo-version: '0.134.2'
|
hugo-version: '0.140.2'
|
||||||
extended: true
|
extended: true
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|
Loading…
Add table
Reference in a new issue