Maintenance: Reconfigure push to github to not use a shell runner, but docker.
(cherry picked from commit 60521b3818b1e01c7089a3a2ce4179620d4af42c)
This commit is contained in:
parent
aeb3486602
commit
9ff3d80f49
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue