aboutsummaryrefslogtreecommitdiff
path: root/.build.yaml
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-07-06 07:49:47 -0400
committerBradley Taunt <bt@btxx.org>2024-07-06 07:49:47 -0400
commit80dcfd3c693f756c89f882a3f508f77ad6911c2b (patch)
tree99025a5e339a56de3890a47c15a4f4a2a2cb2d0d /.build.yaml
parent85122f2ee05133f2635dd0554e33fc24b7104067 (diff)
Add build config
Diffstat (limited to '.build.yaml')
-rw-r--r--.build.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.build.yaml b/.build.yaml
new file mode 100644
index 0000000..992be5f
--- /dev/null
+++ b/.build.yaml
@@ -0,0 +1,21 @@
+image: alpine/latest
+oauth: pages.sr.ht/PAGES:RW
+packages:
+- rsync
+- coreutils
+- lowdown
+- go
+- hut
+environment:
+site: barf.btxx.org
+sources:
+- https://git.sr.ht/~bt/barf
+tasks:
+- build: |
+ cd barf
+ make build
+- package: |
+ cd barf/build
+ tar -cvz . > ../../site.tar.gz
+- upload: |
+ hut pages publish -d barf.btxx.org site.tar.gz \ No newline at end of file