arch: null artifacts: [] environment: BUILD_SUBMITTER: git.sr.ht GIT_REF: refs/heads/gohugo 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#54ba99bbe7e5478d86c97be6cb5e2ce70eb987da 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: ""