This commit is contained in:
parent
573de261c2
commit
69675142c1
2 changed files with 2 additions and 10 deletions
|
|
@ -1,6 +0,0 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- run: echo All good!
|
||||
|
|
@ -15,14 +15,12 @@ jobs:
|
|||
run: |
|
||||
wget https://github.com/gohugoio/hugo/releases/download/v0.148.1/hugo_extended_0.148.1_linux-amd64.deb &&
|
||||
apt-get install -y ./hugo_extended_0.148.1_linux-amd64.deb &&
|
||||
hugo version &&
|
||||
wget https://go.dev/dl/go1.24.5.linux-amd64.tar.gz &&
|
||||
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.24.5.linux-amd64.tar.gz &&
|
||||
export PATH=$PATH:/usr/local/go/bin &&
|
||||
go version
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
|
||||
- name: Build Hugo site
|
||||
run: hugo --minify
|
||||
run: hugo --minify && ls -a
|
||||
|
||||
# - name: Copy site to host directory
|
||||
# run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue