Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Emir Derouiche
øving 8
Commits
cc61d211
Commit
cc61d211
authored
Apr 16, 2020
by
Emir
Browse files
print part of key
parent
a4d1be17
Pipeline
#81129
failed with stages
in 2 minutes and 50 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
cc61d211
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment