diff options
| author | bndw <ben@bdw.to> | 2026-01-25 09:57:24 -0800 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-01-25 09:57:24 -0800 |
| commit | 92189aed1a4789e13e275caec4492aac04b7a3a2 (patch) | |
| tree | 65329be02ba1e99668ba7deaf51a634ac787fe89 /test/example-website/about.html | |
| parent | 1704c7d9dd88ebdae78217ea9b1a5941dc10f998 (diff) | |
Preserve existing config when updating apps and static sites
Previously, updating an app or static site without specifying all flags
would clear existing configuration (e.g., custom domains would be lost
if --domain wasn't provided on update).
Now all config is merged in runDeploy before calling deploy functions:
- Load state once instead of 2-3 times
- Check for existing app once to determine create vs update
- Build merged DeployOptions with existing config + CLI overrides
- Deploy functions receive fully-merged config and just execute
This ensures existing configuration is preserved unless explicitly
overridden by CLI flags.
Diffstat (limited to 'test/example-website/about.html')
0 files changed, 0 insertions, 0 deletions
