commit: 7769c7adeb6a36cb54285576a1a0b57e69666af1
parent 1dae73f124616d209f79b0fdb9b350f0a6d56028
Author: Drew DeVault <sir@cmpwn.com>
Date: Wed, 7 Feb 2024 10:27:04 +0100
.build.yml: update publish process
Diffstat:
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/.build.yml b/.build.yml
@@ -1,12 +1,11 @@
image: alpine/edge
packages:
- - rsync
- go
+ - hut
+oauth: pages.sr.ht/PAGES:RW
sources:
- https://git.sr.ht/~sircmpwn/drewdevault.com
- https://git.sr.ht/~sircmpwn/openring
-secrets:
- - 160a72cf-34d6-47b7-928b-c13b42b4d4f6
triggers:
- action: email
condition: always
@@ -42,5 +41,4 @@ tasks:
/usr/local/bin/hugo
- upload: |
cd drewdevault.com
- echo "StrictHostKeyChecking=no" >> ~/.ssh/config
- rsync -rP public/ deploy@drewdevault.com:/var/www/drewdevault.com/
+ hut pages publish -d drewdevault.com ./public/