diff options
author | Adam Stück <adam@adast.dk> | 2023-12-28 23:08:29 +0100 |
---|---|---|
committer | Adam Stück <adam@adast.dk> | 2023-12-28 23:14:26 +0100 |
commit | a334c2c2a27db422fe156da7f0acaa0a34893535 (patch) | |
tree | df52e5f6f5d7377ee7dca7c54ae185e872db6da0 | |
parent | d0554aa1730a132297872f40a46bead6fc865049 (diff) |
build.yml: build from source when deploying
-rw-r--r-- | .build.yml | 12 | ||||
-rw-r--r-- | build/atom.xml | 2 |
2 files changed, 11 insertions, 3 deletions
@@ -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> |