aboutsummaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorMarc Coquand <marcc0000@pm.me>2023-09-10 07:49:49 -0300
committerMarc Coquand <marcc0000@pm.me>2023-09-10 07:49:49 -0300
commit30a031edc5c5f161ba487822a4adb3c60a9864b1 (patch)
treea9c64d6d4059029b4554fba47d6d19e04728c1a2 /.build.yml
parent22a335754035ae9ee8d1bbdfc65ad83f8bbe834f (diff)
downloadmccd.space-30a031edc5c5f161ba487822a4adb3c60a9864b1.tar.gz
mccd.space-30a031edc5c5f161ba487822a4adb3c60a9864b1.tar.bz2
mccd.space-30a031edc5c5f161ba487822a4adb3c60a9864b1.zip
Initial commit
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