feat(release): add FTP deploy script and env vars; add npm run release:push

This commit is contained in:
Jordan Wages 2025-08-22 22:21:52 -05:00
commit 7348316409
3 changed files with 129 additions and 1 deletions

View file

@ -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