Commit 5df05836 authored by Syed Bilal Raees's avatar Syed Bilal Raees

indentation in yaml

parent 9fded860
Pipeline #2075 passed with stage
in 11 seconds
......@@ -44,9 +44,8 @@
# name: staging
# url : http://localhost/test
#build_app:
job1:
image:
name: python:3.6
before_script:
- python3 -V
......@@ -57,26 +56,28 @@ job1:
- pwd
# - whoami
stages:
- production
- development
production:
stage: production
script:
#stages:
# - production
# - development
#production:
# stage: production
image: python:3.6
script:
- pip install Flask
- sudo systemctl start python.service
only:
only:
- master
development:
stage: development
script:
# development:
# stage: development
image: python:3.6
script:
- pip install Flask
# - echo $PATH
- echo "deploying to staging server"
- sudo systemctl start prod.service
only:
only:
- dev
tags:
- ci
- ci
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