From a334c2c2a27db422fe156da7f0acaa0a34893535 Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Thu, 28 Dec 2023 23:08:29 +0100 Subject: build.yml: build from source when deploying --- .build.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to '.build.yml') 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 -- cgit v1.2.3-70-g09d2