Don't build review deployment for prod
But do build docs
This commit is contained in:
		
							parent
							
								
									2e77bb2d60
								
							
						
					
					
						commit
						6781297016
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -45,6 +45,8 @@ build_review_deployment:
 | 
				
			||||||
  stage: build
 | 
					  stage: build
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - docker run -v "${PWD}"/k8s:/src sparkprime/jsonnet /src/deployment_template.jsonnet --tla-str slug="${CI_COMMIT_REF_SLUG}" --tla-str sha="${CI_COMMIT_SHA}" -m /src
 | 
					    - docker run -v "${PWD}"/k8s:/src sparkprime/jsonnet /src/deployment_template.jsonnet --tla-str slug="${CI_COMMIT_REF_SLUG}" --tla-str sha="${CI_COMMIT_SHA}" -m /src
 | 
				
			||||||
 | 
					  only:
 | 
				
			||||||
 | 
					    - /^dev\/.*$/
 | 
				
			||||||
  artifacts:
 | 
					  artifacts:
 | 
				
			||||||
    paths:
 | 
					    paths:
 | 
				
			||||||
    - k8s/deployment.json
 | 
					    - k8s/deployment.json
 | 
				
			||||||
| 
						 | 
					@ -168,6 +170,7 @@ pages:
 | 
				
			||||||
  <<: *sphinx
 | 
					  <<: *sphinx
 | 
				
			||||||
  only:
 | 
					  only:
 | 
				
			||||||
  - master
 | 
					  - master
 | 
				
			||||||
 | 
					  - 2019
 | 
				
			||||||
  environment:
 | 
					  environment:
 | 
				
			||||||
    name: docs
 | 
					    name: docs
 | 
				
			||||||
    url: https://laconfdev.gitlab.io/symposion_app/
 | 
					    url: https://laconfdev.gitlab.io/symposion_app/
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue