From d72379cce811558351d2dffd7f680f871041a803 Mon Sep 17 00:00:00 2001 From: "Sam A. Horvath-Hunt" Date: Sun, 5 Dec 2021 22:59:04 +0000 Subject: [PATCH] Add CI config --- .build.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..86631e5 --- /dev/null +++ b/.build.yml @@ -0,0 +1,13 @@ +image: alpine/latest +packages: + - hugo +oauth: pages.sr.ht/PAGES:RW +environment: + site: samhh.srht.site +tasks: +- package: | + cd samhh.com + make build + tar -C public -cvz . > ../public.tar.gz +- upload: | + acurl -f https://pages.sr.ht/publish/$site -Fcontent=@public.tar.gz -- 2.45.2