upload built js and php to server instead of source

This commit is contained in:
Lukas Heiligenbrunner 2020-08-05 22:10:14 +02:00
parent 72a652f5f3
commit 186c24277c

View File

@ -65,5 +65,6 @@ deploy_test1:
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh root@192.168.0.42 "cd /var/www/html/ && git fetch origin && git rebase origin/master && exit"
- scp -r build/* root@192.168.0.42:/var/www/html/
- scp -r api/ root@192.168.0.42:/var/www/html/