try to simplify stuff
This commit is contained in:
		
							parent
							
								
									c7dc93e092
								
							
						
					
					
						commit
						c218052556
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		|  | @ -56,6 +56,7 @@ staging: | |||
|     - develop | ||||
|   variables: | ||||
|     ENVIRON: staging | ||||
|     TARGET: $WWW_DEPLOY_ROOT_STAGING | ||||
| 
 | ||||
| production: | ||||
|   stage: deploy | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| #!/bin/sh | ||||
| 
 | ||||
| echo "Stage: ${CI_BUILD_STAGE}" | ||||
| echo "Target: ${TARGET}" | ||||
| if [ "develop" == "${ENVIRON}" ] ; then | ||||
| 	echo "Deploying ${CI_BUILD_REF_NAME} to develop. You can access it at .../${CI_BUILD_REF_NAME}" | ||||
| 	target="${WWW_DEPLOY_ROOT_DEVELOP}/${CI_BUILD_REF_NAME}" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue