chore(gitlab-ci): fix relative paths
This commit is contained in:
parent
018082ec4a
commit
1075122a22
@ -215,7 +215,7 @@ yesod:test:
|
|||||||
deploy:uniworx4:
|
deploy:uniworx4:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- ssh -i .ssh/id root@uniworx4.ifi.lmu.de <bin/uniworx
|
- ssh -i ~/.ssh/id root@uniworx4.ifi.lmu.de <bin/uniworx
|
||||||
needs:
|
needs:
|
||||||
- yesod:build
|
- yesod:build
|
||||||
- yesod:test # For sanity
|
- yesod:test # For sanity
|
||||||
@ -223,8 +223,7 @@ 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
|
||||||
- mkdir -p ~/.ssh
|
- install -m 0700 -d ~/.ssh
|
||||||
- chmod 700 ~/.ssh
|
|
||||||
- install -m 0644 ${SSH_KNOWN_HOSTS} ~/.ssh/known_hosts
|
- install -m 0644 ${SSH_KNOWN_HOSTS} ~/.ssh/known_hosts
|
||||||
- install -m 0400 ${SSH_PRIVATE_KEY_UNIWORX4} ~/.ssh/id
|
- install -m 0400 ${SSH_PRIVATE_KEY_UNIWORX4} ~/.ssh/id
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
Reference in New Issue
Block a user