aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorAdam Stück <adam@adast.dk>2023-12-28 23:08:29 +0100
committerAdam Stück <adam@adast.dk>2023-12-28 23:14:26 +0100
commita334c2c2a27db422fe156da7f0acaa0a34893535 (patch)
treedf52e5f6f5d7377ee7dca7c54ae185e872db6da0 /.build.yml
parentd0554aa1730a132297872f40a46bead6fc865049 (diff)
build.yml: build from source when deploying
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml
index 682b8c7..6d66adf 100644
--- a/.build.yml
+++ b/.build.yml
@@ -2,13 +2,21 @@ image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
- hut
+- rsync
+sources:
+ - https://git.sr.ht/~adamski/adast.dk
+ - https://git.sr.ht/~bt/smu
environment:
site: adast.dk
mirror: adamski.srht.site
tasks:
+- smu: |
+ cd smu
+ sudo make install
- package: |
- cd $site/build
- tar -cvz . > ../../site.tar.gz
+ cd $site
+ make build
+ tar -C build -cvz . > ../site.tar.gz
- upload: |
hut pages publish -d $site site.tar.gz
hut pages publish -d $mirror site.tar.gz