This commit is contained in:
philipp 2023-07-30 16:31:38 +02:00
parent fa48bf2984
commit cd959dd9ab

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: