Commit 63d4f432 by Chif Gergő

Test deployment

parent 2b0f0c5b
Pipeline #1263 failed with stages
in 17 seconds
......@@ -32,13 +32,13 @@ 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
- ls -la
- git pull https://git.ik.bme.hu/RECIRCLE/portal.git DEV
- cd portal
- git submodule update --init --recursive
- docker-compose up -f docker-compose.prod.yml
- exit
- sshpass -p "$STAGING_SSH_PASS" ssh -o StrictHostKeyChecking=no cloud@vm.niif.cloud.bme.hu -p 17668 \
ls -la \
git pull https://git.ik.bme.hu/RECIRCLE/portal.git DEV \
cd portal \
git submodule update --init --recursive \
docker-compose up -f docker-compose.prod.yml \
exit
environment:
name: staging
url: http://vm.niif.cloud.bme.hu:20088
......
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