Add CI
This commit is contained in:
		
							
								
								
									
										21
									
								
								.woodpecker.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.woodpecker.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
pipeline:
 | 
			
		||||
  build:
 | 
			
		||||
    image: klakegg/hugo 
 | 
			
		||||
    commands:
 | 
			
		||||
      - hugo
 | 
			
		||||
 | 
			
		||||
  deploy:
 | 
			
		||||
    image: appleboy/drone-scp
 | 
			
		||||
    settings:
 | 
			
		||||
      strip_components: 1
 | 
			
		||||
      host:
 | 
			
		||||
        from_secret: host
 | 
			
		||||
      username:
 | 
			
		||||
        from_secret: ssh_user
 | 
			
		||||
      target:
 | 
			
		||||
        from_secret: path
 | 
			
		||||
      source: public/
 | 
			
		||||
      key:
 | 
			
		||||
        from_secret: ssh_key
 | 
			
		||||
		Reference in New Issue
	
	Block a user