Fix misformatting in CI rules
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
0016f79ef4
commit
9dcaf4a10a
18
.drone.yml
18
.drone.yml
|
@ -25,12 +25,12 @@ steps:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
sudo apk update
|
- sudo apk update
|
||||||
sudo apk add rsync
|
- sudo apk add rsync
|
||||||
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