Skip to content
Snippets Groups Projects
Commit cc61d211 authored by Emir's avatar Emir
Browse files

print part of key

parent a4d1be17
Branches
No related tags found
No related merge requests found
Pipeline #81129 failed
...@@ -33,7 +33,10 @@ deploy: ...@@ -33,7 +33,10 @@ deploy:
- touch ~/.ssh/id_rsa - touch ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa # Required permission by ssh - chmod 600 ~/.ssh/id_rsa # Required permission by ssh
- echo "$key" > ~/.ssh/id_rsa - 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: only:
- master - master
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment