chore(gitlab-ci): experiment with deployment to uniworx4
This commit is contained in:
parent
2c364b7166
commit
382156c9d2
@ -224,12 +224,12 @@ deploy:uniworx4:
|
|||||||
before_script:
|
before_script:
|
||||||
- apt-get update -y
|
- apt-get update -y
|
||||||
- apt-get install -y --no-install-recommends openssh-client
|
- apt-get install -y --no-install-recommends openssh-client
|
||||||
- eval $(ssh-agent -s)
|
|
||||||
- "ssh-add - <${SSH_PRIVATE_KEY_UNIWORX4}"
|
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
- cp ${SSH_KNOWN_HOSTS} ~/.ssh/known_hosts
|
- install -m 0644 ${SSH_KNOWN_HOSTS} ~/.ssh/known_hosts
|
||||||
- chmod 644 ~/.ssh/known_hosts
|
- install -m 0400 ${SSH_PRIVATE_KEY_UNIWORX4} ~/.ssh/id
|
||||||
|
- eval $(ssh-agent -s)
|
||||||
|
- ssh-add ~/.ssh/id
|
||||||
dependencies:
|
dependencies:
|
||||||
- yesod:build
|
- yesod:build
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user