Commit a56ed169 authored by Syed Bilal Raees's avatar Syed Bilal Raees

Update .gitlab-ci.yml

parent f27ea211
Pipeline #2095 passed with stage
in 9 seconds
......@@ -32,10 +32,10 @@ build_app:
# - sudo systemctl start prod.service
# - sudo systemctl status python.service
- |
if [[ $CI_COMMIT_REF_NAME == master ]]; then
if [[ $CI_COMMIT_REF_NAME = master ]]; then
echo "it's a prod server"
sudo systemctl start prod.service
elif [[ $CI_COMMIT_REF_NAME == dev ]]; then
elif [[ $CI_COMMIT_REF_NAME = dev ]]; then
echo "it's a dev server"
sudo systemctl start prod.service
else
......
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