Commit a4d1be17 authored by Emir's avatar Emir
Browse files

ssh test

parent 62c3e69e
Pipeline #81119 failed with stages
in 2 minutes and 45 seconds
......@@ -33,13 +33,7 @@ deploy:
- touch ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa # Required permission by ssh
- echo "$key" > ~/.ssh/id_rsa
- ls
- cd .ssh
- ls
- cd ..
- apt update
- apt install --assume-yes rsync
- rsync --archive --delete --exclude='.git' --exclude='node_modules' . speed@35.228.31.13:app
- ssh speed@35.228.31.13 systemctl --user restart app
- ssh speed@35.228.31.13
only:
- master
Supports Markdown
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