feat(release): add FTP deploy script and env vars; add npm run release:push
This commit is contained in:
		
					parent
					
						
							
								77b5f8fb5a
							
						
					
				
			
			
				commit
				
					
						7348316409
					
				
			
		
					 3 changed files with 129 additions and 1 deletions
				
			
		
							
								
								
									
										10
									
								
								.env.example
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								.env.example
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -3,3 +3,13 @@
 | 
			
		|||
AMO_JWT_ISSUER=your-amo-jwt-issuer
 | 
			
		||||
AMO_JWT_SECRET=your-amo-jwt-secret
 | 
			
		||||
 | 
			
		||||
# FTP deploy (used by npm run release:push)
 | 
			
		||||
# Protocol: ftp (default) or ftps
 | 
			
		||||
FTP_PROTOCOL=ftp
 | 
			
		||||
FTP_HOST=your-ftp-host.example.com
 | 
			
		||||
# Port for ftp/ftps (21 for FTP/explicit FTPS, 990 for implicit FTPS)
 | 
			
		||||
FTP_PORT=21
 | 
			
		||||
FTP_USER=your-ftp-username
 | 
			
		||||
FTP_PASS=your-ftp-password
 | 
			
		||||
# Remote directory to upload signed artifacts (e.g., /addons/archive-org-link-grabber/)
 | 
			
		||||
FTP_REMOTE_DIR=/path/on/server
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue