diff options
author | Adam Stück <adam@adast.dk> | 2023-12-28 23:42:21 +0100 |
---|---|---|
committer | Adam Stück <adam@adast.dk> | 2023-12-28 23:42:21 +0100 |
commit | 0a70717fe9e303d755bffecaa3bb7b7febcb135f (patch) | |
tree | afe79aee99d322c55d75a96d12fa95b40d10e64f /.build.yml | |
parent | 23f001c2206607c36ea406079b0607f1577b32fa (diff) |
build.yml: build from source when deploying
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -2,11 +2,19 @@ image: alpine/edge oauth: pages.sr.ht/PAGES:RW packages: - hut +- rsync +sources: + - https://git.sr.ht/~adamski/arena-web + - https://git.sr.ht/~bt/smu environment: site: arena.adast.dk tasks: +- smu: | + cd smu + sudo make install - package: | - cd arena-web/build - tar -cvz . > ../../site.tar.gz + cd arena-web + make build + tar -C build -cvz . > ../site.tar.gz - upload: | hut pages publish -d $site site.tar.gz |