~ajhalili2006's personal website, built with Zensical (successor of Material for Mkdocs) [old repo name got bugged while attempting to do manual knot migration via repo deletion] andreijiroh.dev
zensical mkdocs-material website

chore(gitlab-ci): fix repository sync chaos

Changed files
+3 -2
+3 -2
.gitlab-ci.yml
···
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:
···
# 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