From 0ba2091475fd22554fa814b058da651fd5580571 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Eugenio Halili Date: Mon, 23 Oct 2023 05:16:25 +0000 Subject: [PATCH] chore(gitlab-ci): fix repository sync chaos --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8cb3a1e..3e21ad2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,7 @@ variables: DEBUG: "1" # MAY HORRIBLY LEAK SECRETS, PROCEED WITH CAUTION FF_ENABLE_COMMIT_DATA: "true" FF_GENERATE_SOCIAL_CARDS: "true" - SECURE_FILES_DOWNLOAD_PATH: /run/secrets + SECURE_FILES_DOWNLOAD_PATH: .secretskit GIT_DEPTH: "0" pages: @@ -50,11 +50,12 @@ pages: # TODO: Automate this over at mirrors/cronjobs soon. sync-branch: stage: sync-repo + allow_failure: true script: - | set -x eval $(ssh-agent) - ssh-add /run/secrets/passwordless + ssh-add $PWD/.secretskit/passwordless git push "git@github.com:ajhalili2006/ajhalili2006.github.io" --mirror || true git push "git@git.sr.ht:~ajhalili2006/web" --mirror || true git push "git@codeberg.org:ajhalili2006/website" --mirror || true