arch: null artifacts: [] environment: BUILD_SUBMITTER: git.sr.ht GIT_REF: refs/heads/main builddir: pages/build s3_bucket: website s3_url: https://s3.ccw.icu image: alpine/edge packages: - hugo - s3fs-fuse repositories: {} secrets: - 52590bef-f27a-4b05-8262-4d14e68486e9 shell: false sources: - http://git.hut.ccw.icu/~comcloudway/pages#1da85252a3b80616e29a2f5d8abcf87f4d8a36a5 tasks: - prepare: | # setup s3fs sudo modprobe fuse sudo mv ~/.passwd-s3fs /etc/passwd-s3fs mkdir -p $builddir 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 hugo -d ~/$builddir --noTimes --noChmod - cleanup: | sudo umount ~/$builddir triggers: [] oauth: ""