From ecae607db42ac2453dec4210a8e24dc5f2a29293 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Eugenio Halili Date: Sat, 28 Oct 2023 16:33:43 +0000 Subject: [PATCH] chore(gitlab-ci): nuke repo mirroring script See https://mau.dev/ajhalili2006-experiments/cronjobs-ci/-/commit/1e45e7f48d5f9c04a4391082aa0ec217cfdf4ed5 for context --- .gitlab-ci.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f9da491..1556b9a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,18 +37,3 @@ pages: # This ensures that only pushes to the default branch will trigger # a pages deploy - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH - -# TODO: Automate this over at mirrors/cronjobs soon. -sync-repo: - stage: build - allow_failure: true - variables: - GIT_SSH_COMMAND: "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" - script: - - | - set -x - eval $(ssh-agent) - chmod 600 $PWD/.secretskit/passwordless && ssh-add $PWD/.secretskit/passwordless - git push "git@github.com:ajhalili2006/website" --mirror || true - git push "git@git.sr.ht:~ajhalili2006/web" --mirror || true - git push "git@codeberg.org:ajhalili2006/website" --mirror || true