arch: null artifacts: [] environment: BUILD_SUBMITTER: git.sr.ht GIT_REF: refs/heads/master image: alpine/3.20 packages: - mkdocs - py3-pathspec - rsync repositories: {} secrets: - a762687d-f65a-42d7-ad56-c2bd1edbcf94 - 47e261d2-a744-4a45-bda0-591baa3d381b shell: false sources: - https://git.sr.ht/~mil/mobroute-docs#f04799a51910fbf01f2a28e30517fdd0b4d8d853 tasks: - build_website: | cd mobroute-docs ./build.sh gmsetup mkdocs build - check_branch: | cd "$REPO" if [ "$(git rev-parse master)" != "$(git rev-parse HEAD)" ]; then \ complete-build; \ fi - upload_built_website: |- cd mobroute-docs set +x rsync --exclude trigger -e "ssh -o StrictHostKeyChecking=no" -avh --delete site/ $(cat ~/.user_at_server):/home/public/mr.lrdu.org triggers: - action: email condition: always to: ~mil/mobroute-ci@lists.sr.ht oauth: ""