aboutsummaryrefslogtreecommitdiffstats
path: root/.build.yml
diff options
context:
space:
mode:
authorAhmed <git@gumx.cc>2025-10-16 17:01:30 +0300
committerAhmed <git@gumx.cc>2025-10-16 17:01:30 +0300
commit76d25349fa15acae1994b267274d898acb551522 (patch)
tree92dbce99906fed26271f8cdd5123bc327a9a9039 /.build.yml
parent30dd31fbc558597110f373b3ef1e0c75ea350f75 (diff)
fix: updated info and build conf for sourcehut
Diffstat (limited to '.build.yml')
-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..6d84f75
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,17 @@
+image: alpine/edge
+packages:
+ - hut
+ - zola
+oauth: pages.sr.ht/PAGES:RW
+environment:
+ site: zola-no-style-please.demo.gumx.cc
+sources:
+ - https://git.sr.ht/~gumxcc/zola-no-style-please
+tasks:
+ - build: |
+ cd zola-no-style-please
+ zola build
+ - package: |
+ tar -C zola-no-style-please/public -cvz . > site.tar.gz
+ - upload: |
+ hut pages publish -d $site site.tar.gz