Commit c2c3bddc authored by Cecile Cavet's avatar Cecile Cavet
Browse files

Update .gitlab-ci.yml

parent 91ba3da1
Pipeline #17430 failed with stage
in 12 seconds
#image: python:alpine
image: ubuntu:latest
image: centos:latest
deploy_prod:
#script: git push production HEAD:master
script:
- "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
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- scp -o stricthostkeychecking=no -r test cavet@134.158.74.72:ldc_git
only:
- master
......
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