Commit 087ffb02 authored by Richard Marston's avatar Richard Marston
Browse files

Add VM to deploy script

parent ef61de77
Pipeline #241707 failed with stage
in 3 seconds
......@@ -22,6 +22,9 @@ deploy:docker:
stage: deploy
script:
- docker push ${DOCKER_IMAGE}:${DOCKER_TAG}
- ssh-agent -s
- echo "${SSH_DEPLOY_KEY}" | perl -p -e 's/&&&&&&&&/\n/g' | ssh-add - > /dev/null
- ssh -o "StrictHostKeyChecking=no" "${VM_IP}" "cd Pintura && git pull && ./stop_docker.sh && make docker && make start"
dependencies:
- build:docker
tags:
......
Supports Markdown
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