Update .gitlab-ci.yml file
This commit is contained in:
		
							parent
							
								
									0916c0481e
								
							
						
					
					
						commit
						5c51425b34
					
				
					 1 changed files with 22 additions and 2 deletions
				
			
		|  | @ -1,2 +1,22 @@ | |||
| # The Docker image that will be used to build your app | ||||
| image: nginx | ||||
| deploy: | ||||
|   stage: deploy | ||||
|   image: alpine:latest | ||||
|   script: | ||||
|     - mkdir .public | ||||
|     - cp -r * .public | ||||
|   artifacts: | ||||
|     paths: | ||||
|       - .public | ||||
|   only: | ||||
|     - master | ||||
| 
 | ||||
| pages: | ||||
|   stage: deploy | ||||
|   image: alpine:latest | ||||
|   script: | ||||
|     - mv .public public | ||||
|   artifacts: | ||||
|     paths: | ||||
|       - public | ||||
|   only: | ||||
|     - master | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue