summaryrefslogtreecommitdiffstats
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..0dfec7d
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,19 @@
+image: alpine/latest
+oauth: pages.sr.ht/PAGES:RW
+
+packages:
+ - yarn
+ - nodejs
+
+environment:
+ site: a14m.me
+
+tasks:
+ - build: |
+ cd a14m.srht.site
+ yarn install
+ yarn build
+ tar -C public -cvz . > ../site.tar.gz
+
+ - upload: |
+ acurl -f https://pages.sr.ht/publish/$site [email protected]