Public Access
e834b8a3ea
Universal: Auto Version Bump / Version Bump (push) Successful in 8s
- Add demo and live to ENV_CONFIG_MAP - Add multi-target deploy via LIVE_TARGETS env var (JSON array of targets) - Add sftp-config.demo.json.example and sftp-config.live.json.example templates - Failed targets logged but don't block remaining deploys
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"_template": "Copy this file to scripts/sftp-config/sftp-config.live.json — it is gitignored",
|
|
"_env": "live",
|
|
"_note": "For multi-instance live deploy, use the LIVE_TARGETS env var instead (JSON array of target objects)",
|
|
|
|
"type": "sftp",
|
|
|
|
"save_before_upload": false,
|
|
"upload_on_save": false,
|
|
"sync_down_on_open": false,
|
|
"sync_skip_deletes": false,
|
|
"sync_same_age": true,
|
|
"confirm_downloads": false,
|
|
"confirm_sync": true,
|
|
"confirm_overwrite_newer": true,
|
|
|
|
"host": "YOUR_LIVE_HOST",
|
|
"user": "YOUR_LIVE_USERNAME",
|
|
"ssh_key_file": "~/.ssh/id_rsa",
|
|
"port": "22",
|
|
|
|
"remote_path": "/home/YOUR_USER/YOUR_LIVE_DOMAIN/htdocs/custom/YOUR_MODULE/",
|
|
|
|
"ignore_regexes": [
|
|
"\\.sublime-(project|workspace|settings)",
|
|
"\\.libsass.json/",
|
|
"sftp-config(-alt\\d?)?\\.json",
|
|
"sftp-settings\\.json",
|
|
"/venv/",
|
|
"\\.svn/",
|
|
"\\.hg/",
|
|
"\\.bzr",
|
|
"_darcs",
|
|
"CVS",
|
|
"\\.DS_Store",
|
|
"Thumbs\\.db",
|
|
"robots\\.txt",
|
|
"desktop\\.ini",
|
|
"configuration\\.php",
|
|
"\\.ffs*",
|
|
"\\.git*",
|
|
"\\.editorconfig",
|
|
"conf\\.php",
|
|
"\\.ps1",
|
|
"\\.tx"
|
|
],
|
|
|
|
"connect_timeout": 30
|
|
}
|