From 173b9bf00c46a10a0bd802bc78188d4850737473 Mon Sep 17 00:00:00 2001 From: Nirmal Kumar R Date: Fri, 11 Oct 2024 19:01:35 +0530 Subject: [PATCH] Use sourcehut to host my precious website --- .build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..66d79e0 --- /dev/null +++ b/.build.yml @@ -0,0 +1,12 @@ +image: alpine/edge +oauth: pages.sr.ht/PAGES:RW +packages: +- hut +environment: + site: nirm.al +tasks: +- package: | + cd $site + tar -cvz . > ../site.tar.gz +- upload: | + hut pages publish -d $site site.tar.gz