aboutsummaryrefslogtreecommitdiff
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
parentd0554aa1730a132297872f40a46bead6fc865049 (diff)
build.yml: build from source when deploying
-rw-r--r--.build.yml12
-rw-r--r--build/atom.xml2
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 @@
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Adam Stück's blog</title>
<link href="https://adast.dk/atom.xml" rel="self" />
- <updated>2023-12-26T19:44:24Z</updated>
+ <updated>2023-12-28T23:07:24Z</updated>
<author>
<name>Adam Stück</name>
</author>