Publicar la web automáticamente al hacer push a master
	
		
			
	
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
					Details
				
			
		
	
				
					
				
			
				
	
				continuous-integration/drone/push Build is passing
				
					Details
				
			
		
	This commit is contained in:
		
							parent
							
								
									fd958653fe
								
							
						
					
					
						commit
						54cd73f31d
					
				| 
						 | 
					@ -0,0 +1,38 @@
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					kind: pipeline
 | 
				
			||||||
 | 
					name: default
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					platform:
 | 
				
			||||||
 | 
					  os: linux
 | 
				
			||||||
 | 
					  arch: amd64
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					steps:
 | 
				
			||||||
 | 
					- name: build
 | 
				
			||||||
 | 
					  image: plugins/hugo
 | 
				
			||||||
 | 
					  settings:
 | 
				
			||||||
 | 
					    hugo_version: 0.88.1
 | 
				
			||||||
 | 
					    url: https://negromate.rocks/hmdemo/
 | 
				
			||||||
 | 
					    validate: true
 | 
				
			||||||
 | 
					  when:
 | 
				
			||||||
 | 
					    branch:
 | 
				
			||||||
 | 
					    - master
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- name: deploy
 | 
				
			||||||
 | 
					  image: drillster/drone-rsync
 | 
				
			||||||
 | 
					  settings:
 | 
				
			||||||
 | 
					    hosts:
 | 
				
			||||||
 | 
					    - 192.168.20.2
 | 
				
			||||||
 | 
					    key:
 | 
				
			||||||
 | 
					      from_secret: rsync_ssh_key
 | 
				
			||||||
 | 
					    source: public/
 | 
				
			||||||
 | 
					    target: /var/www/html/hmdemo
 | 
				
			||||||
 | 
					    user: hm
 | 
				
			||||||
 | 
					  when:
 | 
				
			||||||
 | 
					    branch:
 | 
				
			||||||
 | 
					    - master
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					---
 | 
				
			||||||
 | 
					kind: signature
 | 
				
			||||||
 | 
					hmac: eedaf25fc6dd13b10beb6533dd58eda860b7b8b6a5af7df2169bcc4e9c711c5e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					...
 | 
				
			||||||
		Loading…
	
		Reference in New Issue