only run CI on master
This commit is contained in:
		
							parent
							
								
									b6fcd09a3b
								
							
						
					
					
						commit
						88dcb89ca7
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -16,6 +16,9 @@ build site:
 | 
				
			||||||
deploy site:
 | 
					deploy site:
 | 
				
			||||||
  image: instrumentisto/rsync-ssh
 | 
					  image: instrumentisto/rsync-ssh
 | 
				
			||||||
  stage: deploy
 | 
					  stage: deploy
 | 
				
			||||||
 | 
					  only:
 | 
				
			||||||
 | 
					    refs:
 | 
				
			||||||
 | 
					      - master
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - mkdir ~/.ssh
 | 
					    - mkdir ~/.ssh
 | 
				
			||||||
    - echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts
 | 
					    - echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue