Commit 1cacf15f authored by Syed Bilal Raees's avatar Syed Bilal Raees

Update .gitlab-ci.yml

parent 935bb0c5
Pipeline #2100 passed with stage
in 9 seconds
...@@ -35,7 +35,8 @@ build_app: ...@@ -35,7 +35,8 @@ build_app:
echo "deploying to prod server" echo "deploying to prod server"
sudo systemctl start python.service sudo systemctl start python.service
elif [[ $CI_COMMIT_REF_NAME = dev ]]; then elif [[ $CI_COMMIT_REF_NAME = dev ]]; then
sudo systemctl start python.service echo "it's a dev server"
sudo systemctl start prod.service
else else
echo "hello world" echo "hello world"
fi 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