# Copy to deploy.conf: cp deploy/deploy.conf.example deploy/deploy.conf DEPLOY_HOST="207.231.110.240" DEPLOY_USER="Administrator" DEPLOY_PORT="22" DEPLOY_PATH="/cygdrive/c/xampp/htdocs/addfirst/main_files/main_files" DEPLOY_PATH_WIN="C:/xampp/htdocs/addfirst/main_files/main_files" PHP_BINARY_WIN="C:/xampp/php/php.exe" MYSQL_BIN_WIN="C:/xampp/mysql/bin" SSH_KEY_PATH="deploy/keys/deploy_ed25519" SSH_KNOWN_HOSTS="deploy/keys/known_hosts" RUN_BUILD="true" SKIP_COMPOSER_DEV="true" SKIP_FRONTEND_BUILD="true" LOCAL_MYSQLDUMP_BIN="/opt/lampp/bin/mysqldump" RSYNC_DELETE="true" PROTECTED_ENV_FILES=".env .env.production .env.local" BACKUP_ENABLED="true" BACKUP_DIR="deploy-backups" BACKUP_KEEP="5" # --- DB: schema (migrations) — every ./deploy.sh --- RUN_REMOTE_MIGRATIONS="true" REMOTE_DB_BACKUP_BEFORE_MIGRATE="true" REMOTE_DB_HOST="127.0.0.1" REMOTE_DB_PORT="3306" REMOTE_DB_DATABASE="aadfirst_laravel" REMOTE_DB_USERNAME="root" REMOTE_DB_PASSWORD="" # --- DB: reference data (optional) — copies rows from Ubuntu → production --- # Include categories/features if you edit them in local Admin panel. DB_SYNC_REFERENCE_DATA="false" DB_SYNC_TABLES="categories,category_translations,sub_categories,sub_category_translations,child_categories,child_category_translations,features,feature_translations,cities,city_translations,counties,county_translations,menus,menu_items,menu_item_translations,menu_translations" RUN_REMOTE_CACHE_CLEAR="true" # After deploy: upload only changed CSS/JS to S3 (incremental) or purge Cloudflare cache RUN_CDN_STATIC_SYNC="true" # Optional — purge Cloudflare cache for /frontend and /global after deploy (CDN proxy mode) # CLOUDFLARE_CDN_PURGE_ENABLED="true" # CLOUDFLARE_API_TOKEN="your-token" # CLOUDFLARE_ZONE_ID="your-zone-id" REMOTE_POST_DEPLOY=""