Commit 70fca0d3 by Chif Gergő

Test deployment

parent 5d3eae4a
Pipeline #1266 failed with stages
in 6 minutes 49 seconds
......@@ -32,11 +32,11 @@ build_prod_image:
deploy_staging:
stage: deploy
script: # When the docker registry ready, pull images from it
- sshpass -p "$STAGING_SSH_PASS" ssh -o StrictHostKeyChecking=no cloud@vm.niif.cloud.bme.hu -p 17668 \
git clone -b DEV --single-branch https://git.ik.bme.hu/RECIRCLE/portal.git \
cd portal \
git submodule update --init --recursive \
docker-compose up -f docker-compose.prod.yml \
- sshpass -p "$STAGING_SSH_PASS" ssh -o StrictHostKeyChecking=no cloud@vm.niif.cloud.bme.hu -p 17668 &&
git clone -b DEV --single-branch https://git.ik.bme.hu/RECIRCLE/portal.git &&
cd portal &&
git submodule update --init --recursive &&
docker-compose up -f docker-compose.prod.yml &&
exit
environment:
name: staging
......
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 sign in to comment