Simplify CI script
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kayomn 2023-08-19 21:33:57 +01:00
parent d0021634e0
commit 2753e25df5
1 changed files with 1 additions and 3 deletions

View File

@ -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}"