fix(ci): Use when condition
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				ci/woodpecker/push/woodpecker Pipeline was successful
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	ci/woodpecker/push/woodpecker Pipeline was successful
				
			This commit is contained in:
		@@ -5,6 +5,9 @@ steps:
 | 
				
			|||||||
    image: klakegg/hugo 
 | 
					    image: klakegg/hugo 
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - hugo
 | 
					      - hugo
 | 
				
			||||||
 | 
					    when:
 | 
				
			||||||
 | 
					      - event: push
 | 
				
			||||||
 | 
					      - event: manual
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  deploy:
 | 
					  deploy:
 | 
				
			||||||
    image: appleboy/drone-scp
 | 
					    image: appleboy/drone-scp
 | 
				
			||||||
@@ -17,6 +20,6 @@ steps:
 | 
				
			|||||||
      source: public/
 | 
					      source: public/
 | 
				
			||||||
      key:
 | 
					      key:
 | 
				
			||||||
        from_secret: ssh_key
 | 
					        from_secret: ssh_key
 | 
				
			||||||
  when:
 | 
					    when:
 | 
				
			||||||
    - event: push
 | 
					      - event: push
 | 
				
			||||||
    - event: manual
 | 
					      - event: manual
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user