deploy helper

This commit is contained in:
counterweight 2025-12-24 10:55:22 +01:00
parent 9950201dd7
commit 6b34d08cae
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
3 changed files with 69 additions and 0 deletions

21
deploy.config.example Normal file
View file

@ -0,0 +1,21 @@
# Deployment Configuration
# Copy this file to deploy.config and fill in your server details
# deploy.config is gitignored to keep your credentials safe
# Remote server hostname or IP address
REMOTE_HOST="example.com"
# SSH username for the remote server
REMOTE_USER="username"
# Remote path where the website should be deployed
# This should be the directory served by your webserver (e.g., /var/www/html, /home/username/public_html)
REMOTE_PATH="/var/www/html"
# Optional: Path to SSH private key (if not using default ~/.ssh/id_rsa)
# Leave empty to use default SSH key
SSH_KEY=""
# Optional: SSH port (defaults to 22 if not specified)
# SSH_PORT="22"