From fa5283d45333cf9b928bd07f005128598dcb70c4 Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Thu, 8 Feb 2024 09:12:09 +0100 Subject: [PATCH] Migrated build script to hugo --- .builds/publish.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.builds/publish.yml b/.builds/publish.yml index f58c84c..4677788 100644 --- a/.builds/publish.yml +++ b/.builds/publish.yml @@ -4,16 +4,13 @@ sources: - https://git.hut.ccw.icu/~comcloudway/pages packages: # build dependencies - - bash - - sed - - pandoc + - hugo # deploy dependencies - s3fs-fuse secrets: # s3fs passwd file - 52590bef-f27a-4b05-8262-4d14e68486e9 environment: - domain: "https://ccw.icu" builddir: "pages/build" s3_url: "https://s3.ccw.icu" s3_bucket: "website" @@ -26,6 +23,6 @@ tasks: sudo s3fs $s3_bucket ~/$builddir -o url=$s3_url -o use_path_request_style -o umask=0007,uid=$(id -u) -o allow_other - builds: | cd pages - bash ./build.sh $domain + hugo -d ~/$builddir - cleanup: | sudo umount ~/$builddir -- 2.38.5