Verified Commit e57b1372 by Varac

Fix broken line endings of multiline variable

parent 3318e9c4
Pipeline #5335 passed with stage
in 43 seconds
......@@ -12,7 +12,9 @@ deploy:
# run ssh-agent
- eval $(ssh-agent -s)
# add ssh key stored in SSH_PRIVATE_KEY variable to the agent store
- ssh-add <(echo "$SSH_PRIVATE_KEY")
# see https://gitlab.com/gitlab-org/gitlab-ee/issues/2940 for fixing
# broken line endings
- ssh-add <(echo "$SSH_PRIVATE_KEY" | sed 's/\r$//')
script:
- apt-get update
- apt-get install -y --no-install-recommends capistrano
......
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