Testing CI
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2022-11-10 08:12:43 -05:00
parent a2b64cc514
commit e9459011f9

9
ci-deploy Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
mkdir -p $HOME/.ssh
ssh-keyscan -t rsa $DEPLOY_HOST >> $HOME/.ssh/known_hosts
sshpass -p $${DEPLOY_PASSWORD} \
rsync -avzr -e \
ssh -o "StrictHostKeyChecking no" ./public \
$${DEPLOY_USER}@$${DEPLOY_HOST}:$${DEPLOY_PATH}