Commit 54d23391 authored by Syed Bilal Raees's avatar Syed Bilal Raees

changes to yaml

parent 36d34e4b
Pipeline #2067 passed with stage
in 8 seconds
...@@ -33,8 +33,10 @@ build_app: ...@@ -33,8 +33,10 @@ build_app:
# - sudo systemctl status python.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 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 python.service sudo systemctl start python.service
fi fi
# environment: # environment:
......
hi there! hi there!
them them
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