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