Only run the Pages script on master.
This commit is contained in:
		
							parent
							
								
									ffdc8f0a45
								
							
						
					
					
						commit
						b38c051f93
					
				| 
						 | 
					@ -18,6 +18,8 @@ test:
 | 
				
			||||||
pages:
 | 
					pages:
 | 
				
			||||||
  extends: .common
 | 
					  extends: .common
 | 
				
			||||||
  stage: deploy
 | 
					  stage: deploy
 | 
				
			||||||
 | 
					  only:
 | 
				
			||||||
 | 
					    - master@holllo/love
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - yarn build
 | 
					    - yarn build
 | 
				
			||||||
    - cp 'public/index.html' 'public/404.html'
 | 
					    - cp 'public/index.html' 'public/404.html'
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue