From 71af8e276a0df05d69507a19d76cdebeae7729a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1ndly=20Gerg=C5=91?= Date: Sat, 10 Aug 2019 16:12:38 +0300 Subject: [PATCH] Added auto deploy --- .abstruse.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .abstruse.yml diff --git a/.abstruse.yml b/.abstruse.yml new file mode 100644 index 0000000..8af5c41 --- /dev/null +++ b/.abstruse.yml @@ -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