ci(gitlab-cicd): fix permission errors on Secure Files-manged SSH key

Also updated GitHub repo mirror's SSH url per recent change.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2023-10-27 18:14:58 +00:00
parent 9da3fd2381
commit fa076e53d7

View file

@ -55,7 +55,7 @@ sync-branch:
- |
set -x
eval $(ssh-agent)
ssh-add $PWD/.secretskit/passwordless
git push "git@github.com:ajhalili2006/ajhalili2006.github.io" --mirror || true
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