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

editing spaces

parent fedff06d
Pipeline #2064 passed with stage
in 9 seconds
......@@ -18,7 +18,7 @@ build_app:
script:
- pip install Flask
- echo $PATH
- /usr/bin/find / -name systemctl
# - /usr/bin/find / -name systemctl
# - export FLASK_APP=hello.py
# - export FLASK_ENV=development
# - flask run
......@@ -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:
......
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