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