chore(gitlab-ci): experiment with deployment to uniworx4

This commit is contained in:
Gregor Kleen 2019-11-13 13:41:14 +01:00
parent 2c364b7166
commit 382156c9d2

View File

@ -224,12 +224,12 @@ deploy:uniworx4:
before_script:
- apt-get update -y
- apt-get install -y --no-install-recommends openssh-client
- eval $(ssh-agent -s)
- "ssh-add - <${SSH_PRIVATE_KEY_UNIWORX4}"
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- cp ${SSH_KNOWN_HOSTS} ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- install -m 0644 ${SSH_KNOWN_HOSTS} ~/.ssh/known_hosts
- install -m 0400 ${SSH_PRIVATE_KEY_UNIWORX4} ~/.ssh/id
- eval $(ssh-agent -s)
- ssh-add ~/.ssh/id
dependencies:
- yesod:build