Simplify CI script
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
d0021634e0
commit
2753e25df5
|
@ -12,8 +12,6 @@ steps:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
HOST:
|
|
||||||
from_secret: host
|
|
||||||
USER:
|
USER:
|
||||||
from_secret: user
|
from_secret: user
|
||||||
SSH_KEY:
|
SSH_KEY:
|
||||||
|
@ -34,4 +32,4 @@ steps:
|
||||||
- chmod 600 ~/.ssh/id_ed25519
|
- chmod 600 ~/.ssh/id_ed25519
|
||||||
- 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}:$${SITE_PATH}"
|
- rsync -rP public/ "$${USER}@pizzawednes.day:$${SITE_PATH}"
|
||||||
|
|
Loading…
Reference in New Issue