Only build when branch is main [ci skip]
This commit is contained in:
		
							parent
							
								
									459c23013f
								
							
						
					
					
						commit
						b8c2f453e5
					
				| 
						 | 
				
			
			@ -11,4 +11,6 @@ pipeline:
 | 
			
		|||
        from_secret: docker_username
 | 
			
		||||
      password:
 | 
			
		||||
        from_secret: docker_password
 | 
			
		||||
    secrets: [docker_username, docker_password]
 | 
			
		||||
    secrets: [docker_username, docker_password]
 | 
			
		||||
    when:
 | 
			
		||||
      branch: main
 | 
			
		||||
| 
						 | 
				
			
			@ -8,6 +8,8 @@ pipeline:
 | 
			
		|||
      - cd fly-cfg/rimgo
 | 
			
		||||
      - /root/.fly/bin/flyctl deploy --detach --remote-only
 | 
			
		||||
    secrets: [fly_api_token]
 | 
			
		||||
    when:
 | 
			
		||||
      branch: main
 | 
			
		||||
 | 
			
		||||
depends_on:
 | 
			
		||||
  - build
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue