- 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.
24 lines
709 B
Plaintext
24 lines
709 B
Plaintext
# FTP/SFTP Zugangsdaten für Webspace Upload
|
|
# Kopiere diese Datei zu .env.upload und trage deine echten Zugangsdaten ein
|
|
|
|
# Server-Adresse (ohne http://, nur Hostname)
|
|
FTP_HOST="dein-server.de"
|
|
|
|
# FTP/SFTP Benutzername
|
|
FTP_USER="dein-username"
|
|
|
|
# FTP/SFTP Passwort
|
|
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"
|
|
# All-Inkl: FTP_HOST="ftp.all-inkl.com" FTP_PATH="/"
|
|
# Hetzner: FTP_HOST="deine-domain.de" FTP_PATH="/httpdocs"
|