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 
 | 
			
		||||
    commands:
 | 
			
		||||
      - hugo
 | 
			
		||||
    when:
 | 
			
		||||
      - event: push
 | 
			
		||||
      - event: manual
 | 
			
		||||
 | 
			
		||||
  deploy:
 | 
			
		||||
    image: appleboy/drone-scp
 | 
			
		||||
@@ -17,6 +20,6 @@ steps:
 | 
			
		||||
      source: public/
 | 
			
		||||
      key:
 | 
			
		||||
        from_secret: ssh_key
 | 
			
		||||
  when:
 | 
			
		||||
    - event: push
 | 
			
		||||
    - event: manual
 | 
			
		||||
    when:
 | 
			
		||||
      - event: push
 | 
			
		||||
      - event: manual
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user