fix: Add SSH port support and exclude deployment build from Git

- Updated .gitignore to exclude /deployment/build/ directory
- Added FTP_PORT configuration to .env.upload.example
- Enhanced upload.sh to support custom SSH ports (default 22, configurable)
- Deployment build artifacts are now properly excluded from version control

The upload script now correctly handles custom SSH ports like 2222.
This commit is contained in:
Johannes
2025-09-07 14:48:45 +02:00
parent d4de83ceb1
commit 58764765dd
3 changed files with 9 additions and 1 deletions

View File

@@ -13,6 +13,9 @@ FTP_PASS="dein-passwort"
# Pfad auf dem Server (meist /htdocs, /public_html, /www oder /)
FTP_PATH="/htdocs"
# SSH/SFTP Port (Standard: 22)
FTP_PORT="22"
# Beispiele für verschiedene Provider:
# Strato: FTP_HOST="ftp.strato.de" FTP_PATH="/htdocs"
# 1&1: FTP_HOST="ftp.1und1.de" FTP_PATH="/htdocs"