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
|
||||
|
||||
environment:
|
||||
HOST:
|
||||
from_secret: host
|
||||
USER:
|
||||
from_secret: user
|
||||
SSH_KEY:
|
||||
|
@ -34,4 +32,4 @@ steps:
|
|||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- ssh-add
|
||||
- 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