Commit 11d97f24 authored by Mahmoud Ibrahim Mohammad's avatar Mahmoud Ibrahim Mohammad
Browse files

test pipeline

parent 83e95611
......@@ -7,7 +7,8 @@ deploy:
- touch ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa # Required permission by ssh
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- scp public/index.html app@10.0.2.15:app/public
- apt-get update
- apt-get install --assume-yes rsync
- rsync --archive --delete --exclude='.git' --exclude='node_modules' . app@10.0.2.15:app
only:
- master
- master
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment