diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-04-30 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-04-30 00:00:00 +0000 |
commit | 1fc31109cddfb85e677cd1f0d8c4e4b6c192e9ebaeae34bca456fb662c8ffc71 (patch) | |
tree | ed4e88ccdeb16349a0869167b9ef3e91f4bfeda3e2cc3e370eb71365c05bad69 | |
parent | 8776177b503fa0b67bb238153690b044686a861e973c1128534aeb248cc880d4 (diff) | |
download | journal-1fc31109cddfb85e677cd1f0d8c4e4b6c192e9ebaeae34bca456fb662c8ffc71.tar.gz journal-1fc31109cddfb85e677cd1f0d8c4e4b6c192e9ebaeae34bca456fb662c8ffc71.zip |
Add sourcehut build script
-rw-r--r-- | .build.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..88d55cf --- /dev/null +++ b/.build.yml @@ -0,0 +1,20 @@ +image: alpine/edge +oauth: pages.sr.ht/PAGES:RW +packages: +- hut +- hugo +environment: + site: gitnick.srht.site +tasks: +- generate: | + python3 $site/generate.py +- package_website: | + cd $site/website + tar -cvz . > ../../site.tar.gz +- package_capsule: | + cd $site/capsule + tar -cvz . > ../../capsule.tar.gz +- upload_website: | + hut pages publish -d $site site.tar.gz +- upload_capsule: | + hut pages publish -d $site -p GEMINI capsule.tar.gz |