Added auto deploy

This commit is contained in:
Fándly Gergő 2019-08-10 16:12:38 +03:00
parent b9ebcc3bd7
commit 71af8e276a

6
.abstruse.yml Normal file
View File

@ -0,0 +1,6 @@
image: ssh_deploy
branches:
- master
deploy:
- echo $SSH_PRIVATE | base64 -di > /home/abstruse/ssh.pem
- sshpass -p "$SSH_PASSWD" scp -o StrictHostKeyChecking=no -i /home/abstruse/ssh.pem -r . systemtest.tk@srv1.systemtest.tk:/home/systemtest.tk/public_html