Commit bd36a108 authored by David Foucher's avatar David Foucher

Fix rename script deploy api filename in gitlab-ci

parent d4945cc6
Pipeline #3433 passed with stages
in 8 minutes and 43 seconds
...@@ -48,7 +48,7 @@ deploy API to staging: ...@@ -48,7 +48,7 @@ deploy API to staging:
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
script: script:
- ssh -o StrictHostKeyChecking=no gitlab@${STAGING_SERVEUR_IP} "cd /home/docker && VERSION=${CI_COMMIT_TAG} /bin/bash update.sh trefle && echo \"VERSION=${CI_COMMIT_TAG}\" | tee -a update.log >> .env" - ssh -o StrictHostKeyChecking=no gitlab@${STAGING_SERVEUR_IP} "cd /home/docker && VERSION=${CI_COMMIT_TAG} /bin/bash update_api.sh trefle && echo \"VERSION=${CI_COMMIT_TAG}\" | tee -a update.log >> .env"
only: only:
- /^api-v[0-9.ab]+$/ - /^api-v[0-9.ab]+$/
- /^testing$/ - /^testing$/
......
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