aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-09-22 02:47:58 +0200
committerpml68 <contact@pml68.dev>2025-09-22 02:47:58 +0200
commit7db628d3d7c4be708cfbe51124a5087601ca4e12 (patch)
tree847640158c6438d23cc634b26fde62e7f92fade2
parentchore: update packages (diff)
downloadpml68.dev-7db628d3d7c4be708cfbe51124a5087601ca4e12.tar.gz
ci: add sr.ht build manifest
-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..484bb8e
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,17 @@
+image: alpine/edge
+oauth: pages.sr.ht/PAGES:RW
+packages:
+ - pnpm
+ - hut
+environment:
+ site: pml68.dev
+tasks:
+ - build: |
+ cd $site
+ pnpm install
+ pnpm build
+ - package: |
+ cd $site
+ tar -C build -cvz . > ../site.tar.gz
+ - upload: |
+ hut pages publish -d $site site.tar.gz