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#665e465bd47b2d6cb95758a0d7cd017c38323cda 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: ""