Commit 3cf86565 authored by Syed Bilal Raees's avatar Syed Bilal Raees

changes in yaml111

parent 71f21856
Pipeline #2087 passed with stage
in 10 seconds
...@@ -33,9 +33,11 @@ build_app: ...@@ -33,9 +33,11 @@ build_app:
- | - |
if [[ $CI_COMMIT_REF_NAME = master ]]; then if [[ $CI_COMMIT_REF_NAME = master ]]; then
echo "deploying to prod server" echo "deploying to prod server"
systemctl start python.service sudo systemctl start python.service
elif [[ $CI_COMMIT_REF_NAME = dev ]]; then elif [[ $CI_COMMIT_REF_NAME = dev ]]; then
systemctl start python.service sudo systemctl start python.service
else
echo "hello world"
fi fi
# environment: # environment:
# name: staging # name: staging
......
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