mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-12 20:32:26 +00:00
chore(gitlab-ci): fix repository sync chaos
This commit is contained in:
parent
230baff1ec
commit
0ba2091475
1 changed files with 3 additions and 2 deletions
|
@ -21,7 +21,7 @@ variables:
|
||||||
DEBUG: "1" # MAY HORRIBLY LEAK SECRETS, PROCEED WITH CAUTION
|
DEBUG: "1" # MAY HORRIBLY LEAK SECRETS, PROCEED WITH CAUTION
|
||||||
FF_ENABLE_COMMIT_DATA: "true"
|
FF_ENABLE_COMMIT_DATA: "true"
|
||||||
FF_GENERATE_SOCIAL_CARDS: "true"
|
FF_GENERATE_SOCIAL_CARDS: "true"
|
||||||
SECURE_FILES_DOWNLOAD_PATH: /run/secrets
|
SECURE_FILES_DOWNLOAD_PATH: .secretskit
|
||||||
GIT_DEPTH: "0"
|
GIT_DEPTH: "0"
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
|
@ -50,11 +50,12 @@ pages:
|
||||||
# TODO: Automate this over at mirrors/cronjobs soon.
|
# TODO: Automate this over at mirrors/cronjobs soon.
|
||||||
sync-branch:
|
sync-branch:
|
||||||
stage: sync-repo
|
stage: sync-repo
|
||||||
|
allow_failure: true
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
set -x
|
set -x
|
||||||
eval $(ssh-agent)
|
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@github.com:ajhalili2006/ajhalili2006.github.io" --mirror || true
|
||||||
git push "git@git.sr.ht:~ajhalili2006/web" --mirror || true
|
git push "git@git.sr.ht:~ajhalili2006/web" --mirror || true
|
||||||
git push "git@codeberg.org:ajhalili2006/website" --mirror || true
|
git push "git@codeberg.org:ajhalili2006/website" --mirror || true
|
||||||
|
|
Loading…
Reference in a new issue