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 ++++++++++-- build/atom.xml | 2 +- 2 files changed, 11 insertions(+), 3 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 diff --git a/build/atom.xml b/build/atom.xml index c5cf022..703081f 100644 --- a/build/atom.xml +++ b/build/atom.xml @@ -2,7 +2,7 @@ Adam Stück's blog - 2023-12-26T19:44:24Z + 2023-12-28T23:07:24Z Adam Stück -- cgit v1.2.3-70-g09d2