commit: a41e052c1e0d1de801b4ed4172f57b202d629ace
parent 7769c7adeb6a36cb54285576a1a0b57e69666af1
Author: Drew DeVault <sir@cmpwn.com>
Date: Wed, 7 Feb 2024 10:28:01 +0100
.build.yml: use alpine hugo
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/.build.yml b/.build.yml
@@ -1,6 +1,7 @@
image: alpine/edge
packages:
- go
+ - hugo
- hut
oauth: pages.sr.ht/PAGES:RW
sources:
@@ -11,10 +12,6 @@ triggers:
condition: always
to: Drew DeVault <sir@cmpwn.com>
tasks:
-- hugo: |
- curl -O https://mirror.drewdevault.com/hugo
- chmod +x hugo
- sudo mv hugo /usr/local/bin/
- openring: |
cd openring
go build -o openring
@@ -38,7 +35,7 @@ tasks:
-s https://torresjrjr.com/archive/index.xml \
< webring-in.template \
> layouts/partials/webring-out.html
- /usr/local/bin/hugo
+ hugo
- upload: |
cd drewdevault.com
hut pages publish -d drewdevault.com ./public/