diff options
Diffstat (limited to '.build.yml')
| -rw-r--r-- | .build.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..ff5f9fd --- /dev/null +++ b/.build.yml @@ -0,0 +1,18 @@ +--- +image: alpine/edge +secrets: + - 5077f4a0-6a32-46e8-aa7c-5be8778d0524 +sources: + - [email protected]/~a14m/ansible-distro-install +environment: + GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=no +tasks: + - setup: | + # This is for not having to cd into your <repo> for each task + echo 'cd ansible-distro-install' >> ~/.buildenv + - check: | + if [ "$(git rev-parse origin/main)" != "$(git rev-parse HEAD)" ]; then \ + complete-build; \ + fi + - mirror: | + git push --force --mirror [email protected]:a14m/ansible-distro-install.git |
