Commit 1f376e6d authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

fix deploy script

parent d0ad5659
Pipeline #9967 passed with stages
in 3 minutes and 18 seconds
......@@ -69,9 +69,9 @@ deploy_backend_production:
script:
- SSH_COMMAND_STRING="cd doorcode"
# get newest changes
- SSH_COMMAND_STRING+=" && git pull
- SSH_COMMAND_STRING+=" && git pull"
# restart containers for any changes to docker compose
- SSH_COMMAND_STRING+=" && (docker-compose restart || docker-compose up -d)
- SSH_COMMAND_STRING+=" && (docker-compose restart || docker-compose up -d)"
# the -T fixes the input device is not a TTY .. see https://github.com/docker/compose/issues/5696
- SSH_COMMAND_STRING+=" && docker-compose exec -T api ./update-prod.sh"
- echo "$SSH_COMMAND_STRING"
......
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