summaryrefslogtreecommitdiffstats
path: root/.build.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-08-11 00:33:28 +0200
committerAhmed Abdelhalim <[email protected]>2025-08-11 00:33:28 +0200
commit015c3758d922cd2e06290c460bc34815088848c2 (patch)
treeea8e85b1a7adef461c814926a8a4e101032bdb69 /.build.yml
parent7e145475ab0aa49e4db6f8db7842dc8a86747b65 (diff)
Initial commit
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml18
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