ci: add publish step with sftp upload
This commit is contained in:
		@@ -9,4 +9,25 @@ pipeline:
 | 
				
			|||||||
    when:
 | 
					    when:
 | 
				
			||||||
      event: [push, tag]
 | 
					      event: [push, tag]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  publish:
 | 
				
			||||||
 | 
					    image: docker.io/plugins/sftp
 | 
				
			||||||
 | 
					    pull: true
 | 
				
			||||||
 | 
					    settings:
 | 
				
			||||||
 | 
					      host:
 | 
				
			||||||
 | 
					        from_secret: deb_repo_ssh_host
 | 
				
			||||||
 | 
					      port:
 | 
				
			||||||
 | 
					        from_secret: deb_repo_ssh_port
 | 
				
			||||||
 | 
					      username:
 | 
				
			||||||
 | 
					        from_secret: deb_repo_ssh_username
 | 
				
			||||||
 | 
					      password:
 | 
				
			||||||
 | 
					        from_secret: deb_repo_ssh_password
 | 
				
			||||||
 | 
					      files:
 | 
				
			||||||
 | 
					        - ../*.deb
 | 
				
			||||||
 | 
					        - ../*.dsc
 | 
				
			||||||
 | 
					        - ../*.git
 | 
				
			||||||
 | 
					        - ../*.changes
 | 
				
			||||||
 | 
					      destination_path: /var/www/repository/debian/incoming
 | 
				
			||||||
 | 
					    when:
 | 
				
			||||||
 | 
					      event: [tag]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
branches: master
 | 
					branches: master
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user