Test CI
This commit is contained in:
		
					parent
					
						
							
								6ee2637711
							
						
					
				
			
			
				commit
				
					
						7fac2d4229
					
				
			
		
					 1 changed files with 30 additions and 0 deletions
				
			
		
							
								
								
									
										30
									
								
								.drone.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								.drone.yml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,30 @@ | |||
| kind: pipeline | ||||
| type: docker | ||||
| name: default | ||||
| 
 | ||||
| steps: | ||||
| - name: build | ||||
|   image: plugins/hugo | ||||
|   settings: | ||||
|     hugo_version: 0.79 | ||||
|     validate: true | ||||
| 
 | ||||
| - name: deploy | ||||
|   image: einar/drone-rsync | ||||
|   settings: | ||||
|     source: public/ | ||||
|     target: /tmp/ | ||||
|   volumes: | ||||
|      - name: site | ||||
|      path: /site | ||||
|   when: | ||||
|     branch: | ||||
|       exclude: | ||||
|       - master | ||||
| 
 | ||||
| volumes: | ||||
| - name: site | ||||
|   host: | ||||
|     path: /tmp/ | ||||
| - name: public | ||||
|   temp: {} | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue