aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.build.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
new file mode 100644
index 0000000..6bbf3f9
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,17 @@
+image: alpine/edge
+oauth: pages.sr.ht/PAGES:RW
+packages:
+- hut
+- nodejs
+- npm
+environment:
+ site: mccd.space
+tasks:
+- package: |
+ cd $site
+ npm install
+ npm run build
+ cd _site
+ tar -cvz . > ../../site.tar.gz
+- upload: |
+ hut pages publish -d $site site.tar.gz