Commit c3c82177 authored by Sascha Marcel Schmidt's avatar Sascha Marcel Schmidt

starts ssh agent before deployment

parent deda3fd7
Pipeline #84 failed with stages
in 1 minute and 28 seconds
......@@ -28,6 +28,8 @@ deploy-master:
stage: deploy
script:
- apk add openssh-client --update
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy master
environment:
name: master
......@@ -40,6 +42,8 @@ deploy-develop:
stage: deploy
script:
- apk add openssh-client --update
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- ./.gitlab-ci/scripts/deployer.sh -f/src/.gitlab-ci/deployer/deploy.php deploy develop
environment:
name: develop
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment