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

yamll

parent 2cf059ff
...@@ -32,13 +32,13 @@ ...@@ -32,13 +32,13 @@
# - 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 "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 # sudo systemctl start python.service
# else # else
# echo "hello world" # echo "hello world"
# fi # fi
# environment: # environment:
# name: staging # name: staging
# url : http://localhost/test # url : http://localhost/test
......
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