summaryrefslogtreecommitdiffstats
path: root/.build.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-08-11 00:31:59 +0200
committerAhmed Abdelhalim <[email protected]>2025-08-11 00:31:59 +0200
commitf25661df2508980d84157b6d99369602c8b241b8 (patch)
treeda3d65ecb7533cf5f857271c72b32468a0cd3285 /.build.yml
parentf62adf7ff2d9a31dcab6e8883b206c0347f45b02 (diff)
Init 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 00000000..252abbeb
--- /dev/null
+++ b/.build.yml
@@ -0,0 +1,18 @@
+---
+image: alpine/edge
+secrets:
+ - 5077f4a0-6a32-46e8-aa7c-5be8778d0524
+sources:
+ - [email protected]/~a14m/ansible-distro-configure
+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-configure' >> ~/.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-configure.git