Commit 91ba3da1 authored by Cecile Cavet's avatar Cecile Cavet
Browse files

Update .gitlab-ci.yml

parent 5ee31e7e
Pipeline #17429 failed with stage
in 12 seconds
......@@ -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
......
Markdown is supported
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