Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Cecile Cavet
test-ci
Commits
91ba3da1
Commit
91ba3da1
authored
Oct 08, 2018
by
Cecile Cavet
Browse files
Update .gitlab-ci.yml
parent
5ee31e7e
Pipeline
#17429
failed with stage
in 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
.gitlab-ci.yml
.gitlab-ci.yml
+3
-3
No files found.
.gitlab-ci.yml
View file @
91ba3da1
...
...
@@ -4,9 +4,9 @@ image: ubuntu:latest
deploy_prod
:
#script: git push production HEAD:master
script
:
-
"
export
SSHPASS=$
MY_SECRET_KEY_PASS
"
-
"
apt-get
update
&&
apt-get
install
-y
sshpass
"
-
"
sshpass
-e
scp
-o
stricthostkeychecking=no
-r
test
cavet@134.158.74.72:ldc_git"
-
"
export
SSHPASS=$
SSH_PRIVATE_KEY
"
-
"
ssh-agent
&&
ssh-add
$SSH_PRIVATE_KEY
"
-
"
scp
-o
stricthostkeychecking=no
-r
test
cavet@134.158.74.72:ldc_git"
environment
:
name
:
CLOUD_VM
url
:
134.158.74.72
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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