Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
c3c82177
Unverified
Commit
c3c82177
authored
Mar 09, 2017
by
Sascha Marcel Schmidt
Browse files
starts ssh agent before deployment
parent
deda3fd7
Pipeline
#84
failed with stages
in 1 minute and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c3c82177
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment