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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user