chore(release): support sftp in release:push and docs
This commit is contained in:
		
					parent
					
						
							
								c9c844483a
							
						
					
				
			
			
				commit
				
					
						4516f9f2a9
					
				
			
		
					 2 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1,9 +1,9 @@
 | 
			
		|||
#!/usr/bin/env node
 | 
			
		||||
/*
 | 
			
		||||
 * Uploads the latest signed release artifacts in releases/<version>/ via FTP/FTPS using curl.
 | 
			
		||||
 * Uploads the latest signed release artifacts in releases/<version>/ via FTP/FTPS/SFTP using curl.
 | 
			
		||||
 * Reads configuration from .env (auto-loaded) or process.env.
 | 
			
		||||
 * Env vars:
 | 
			
		||||
 *   FTP_PROTOCOL=ftp|ftps (default: ftp)
 | 
			
		||||
 *   FTP_PROTOCOL=ftp|ftps|sftp (default: ftp)
 | 
			
		||||
 *   FTP_HOST=example.com (required)
 | 
			
		||||
 *   FTP_PORT=21 (optional)
 | 
			
		||||
 *   FTP_USER=username (required)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue