updated deployer code

This commit is contained in:
Mark Gregory
2026-09-30 11:27:47 +01:00
parent 1a7d026edd
commit bf5357cbcf
8 changed files with 585 additions and 4 deletions
+19
View File
@@ -0,0 +1,19 @@
# SonarDesk environments
| Environment | Branch | Licensing/website URL | Paddle | Purpose |
|---|---|---|---|---|
| Develop | develop | https://sonardesk.vm | Sandbox | Local development + Mailpit |
| Stage | stage | https://sonardesk.stage.absdev.net | Sandbox | Release-candidate testing |
| Production | main | https://sonardsk.absdev.net | Live | Paying customers |
## macOS build configurations
The Xcode project contains `Develop`, `Stage`, and `Release`. `Release` is production. The licensing URL is injected into Info.plist at build time; there is no Debug/Release URL heuristic.
## Laravel
Start each environment from the matching template: `.env.develop.example`, `.env.stage.example`, or `.env.production.example`. Never copy Paddle secrets between environments. Develop and Stage use Paddle Sandbox but should use different webhook destinations/secrets. Production uses Paddle Live credentials and its own webhook secret.
## Deployment
Develop runs locally and is not a Deployer target. Deploy Stage with `dep deploy stage`; deploy Production with `dep deploy production`.