Correct CI formatting further
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
3d38d2448c
commit
c947e3816b
18
.drone.yml
18
.drone.yml
|
@ -25,12 +25,12 @@ steps:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
- apt-get update -qq > /dev/null
|
- apt-get update -qq > /dev/null
|
||||||
- apt-get install ssh rsync -qq > /dev/null
|
- apt-get install ssh rsync -qq > /dev/null
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- echo "$RSYNC_KEY" > ~/.ssh/id_rsa
|
- echo "$RSYNC_KEY" > ~/.ssh/id_rsa
|
||||||
- chmod 600 ~/.ssh/id_rsa
|
- chmod 600 ~/.ssh/id_rsa
|
||||||
- ssh-add
|
- ssh-add
|
||||||
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
- echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
|
||||||
- rsync -rP public/ "$${USER}@$${HOST}:$${PATH}"
|
- rsync -rP public/ "$${USER}@$${HOST}:$${PATH}"
|
||||||
|
|
Loading…
Reference in New Issue