Commit cc61d211 authored by Emir's avatar Emir
Browse files

print part of key

parent a4d1be17
Pipeline #81129 failed with stages
in 2 minutes and 50 seconds
......@@ -33,7 +33,10 @@ deploy:
- touch ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa # Required permission by ssh
- echo "$key" > ~/.ssh/id_rsa
- ssh speed@35.228.31.13
- echo "$key" | cut -d'_' -f 10
- 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
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