Commit 2f456146 authored by Syed Bilal Raees's avatar Syed Bilal Raees
parents ef94cbf9 282d5e55
Pipeline #2104 failed with stage
in 9 seconds
......@@ -36,7 +36,8 @@ build_app:
git checkout feature
sudo systemctl start python.service
elif [[ $CI_COMMIT_REF_NAME = dev ]]; then
sudo systemctl start python.service
echo "it's a dev server"
sudo systemctl start prod.service
else
echo "hello world"
fi
......
......@@ -7,7 +7,7 @@ app.config["DEBUG"] = True
@app.route('/', methods=['GET'])
def home():
return "<h1>HelloO! DevOps Pakistan</h1><p>This site is a prototype API for greeting Nisum DevOps!</p>"
return "<h1>HelloO DevOps Pak!</h1><p>This site is a prototype API for greeting Nisum DevOps!</p>"
app.run(host='myApp.com', port=5000)
......
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