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#034a9a59304abb787dbe7698ae7e07b5d75db380 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: ""