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

spaces

parent 84abf475
Pipeline #2063 failed with stage
in 10 seconds
......@@ -32,9 +32,9 @@ 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
sudo systemctl start prod.service
elif [$CI_COMMIT_REF_NAME == "dev"]; then
elif [ $CI_COMMIT_REF_NAME == "dev" ]; then
sudo systemctl start python.service
fi
# environment:
......
if [$CI_COMMIT_REF_NAME == "master"]; then
echo "deploying to dev server"
sudo systemctl start python.service; fi
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