feat: deploy-sftp.php --env demo/live + multi-instance (#184) #287

Merged
jmiller merged 2 commits from feature/184-deploy-env-demo-live into main 2026-06-21 02:22:40 +00:00
Owner

Summary

  • deploy-sftp.php now supports --env demo and --env live in addition to dev and rs
  • Multi-instance live deploy via LIVE_TARGETS env var (JSON array of target configs)
  • New config templates: sftp-config.demo.json.example, sftp-config.live.json.example
  • Wiki DEPLOY-SCRIPTS page updated with environment docs

Remaining from #184 (needs infrastructure access):

  • Test live deploy with actual LIVE_TARGETS secret
  • Sync updated deploy-module.yml to MokoDoli repos

Test plan

  • php -l deploy/deploy-sftp.php passes
  • --env demo resolves to sftp-config.demo.json
  • --env live resolves to sftp-config.live.json
  • LIVE_TARGETS JSON array triggers multi-target deploy
  • Failed targets don't block remaining deploys

Closes #184

## Summary - `deploy-sftp.php` now supports `--env demo` and `--env live` in addition to `dev` and `rs` - Multi-instance live deploy via `LIVE_TARGETS` env var (JSON array of target configs) - New config templates: `sftp-config.demo.json.example`, `sftp-config.live.json.example` - Wiki DEPLOY-SCRIPTS page updated with environment docs **Remaining from #184** (needs infrastructure access): - [ ] Test live deploy with actual LIVE_TARGETS secret - [ ] Sync updated deploy-module.yml to MokoDoli repos ## Test plan - [ ] `php -l deploy/deploy-sftp.php` passes - [ ] `--env demo` resolves to `sftp-config.demo.json` - [ ] `--env live` resolves to `sftp-config.live.json` - [ ] `LIVE_TARGETS` JSON array triggers multi-target deploy - [ ] Failed targets don't block remaining deploys Closes #184
jmiller added 2 commits 2026-06-21 02:21:57 +00:00
feat: deploy-sftp.php supports --env demo and --env live with multi-instance (#184)
Universal: Auto Version Bump / Version Bump (push) Successful in 8s
e834b8a3ea
- 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
chore(version): auto-bump patch 09.32.01-dev [skip ci]
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Branch Cleanup / Delete merged branch (pull_request) Successful in 1s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Successful in 16s
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Failing after 1m57s
7d369628f0
jmiller merged commit e8697c2d0e into main 2026-06-21 02:22:40 +00:00
jmiller deleted branch feature/184-deploy-env-demo-live 2026-06-21 02:22:41 +00:00
Sign in to join this conversation.
No Reviewers
No labels
Priority -
Type -
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoCLI#287