From 245e36d3231023e52a7a8a726684dea31dc39b13 Mon Sep 17 00:00:00 2001 From: Bradley Taunt Date: Thu, 9 Apr 2026 08:50:32 -0400 Subject: Initial test of custom deploy build config --- .builds/deploy.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .builds/deploy.yml diff --git a/.builds/deploy.yml b/.builds/deploy.yml new file mode 100644 index 0000000..3449788 --- /dev/null +++ b/.builds/deploy.yml @@ -0,0 +1,26 @@ +image: alpine/edge +packages: + - hut + - ruby + - ruby-dev + - build-base + - jekyll +oauth: pages.sr.ht/PAGES:RW +environment: + site: 1mb.club +sources: + - https://git.sr.ht/~bt/1mb-club +submitter: + git.sr.ht: + enabled: true + allow-refs: + - refs/heads/deploy +tasks: + - build: | + cd 1mb-club + bundle install + bundle exec jekyll build + - deploy: | + cd 1mb-club + tar -czf site.tar.gz -C _site . + hut pages publish -d $site site.tar.gz \ No newline at end of file -- cgit v1.3.1