This commit is contained in:
philipp 2023-07-30 16:31:38 +02:00
parent ae0ef8e18f
commit 36f800d65c

View File

@ -28,8 +28,7 @@ deploy:
before_script: before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" - echo "$SSH_PRIVATE_KEY" | ssh-add -
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
script: script: