Maintenance: Reconfigure push to github to not use a shell runner, but docker.

(cherry picked from commit 60521b3818b1e01c7089a3a2ce4179620d4af42c)
This commit is contained in:
Martin Gruner 2022-06-08 07:37:53 +02:00
parent aeb3486602
commit 9ff3d80f49

View file

@ -86,10 +86,12 @@
# Executed on a dedicated runner. # Executed on a dedicated runner.
"push to github": "push to github":
<<: *template_pre <<: *template_pre
tags:
- deploy
before_script: before_script:
- '' # no RVM present in deploy ENV - test -d $HOME/.ssh || mkdir $HOME/.ssh
- ssh-keyscan github.com >> $HOME/.ssh/known_hosts
- eval $(ssh-agent -s)
- echo "$PUSH_TO_GITHUB_SSH_PRIVATE_KEY" | ssh-add -
- ssh-add -l
script: script:
- git fetch --unshallow - git fetch --unshallow
- script/build/sync_repo.sh git@github.com:zammad/zammad.git - script/build/sync_repo.sh git@github.com:zammad/zammad.git