Commit Graph

1 Commits

Author SHA1 Message Date
Artemy 33ef17f73d Support --migrate-only startup and secrets handling
Add a Timeweb deployment guide and improve secret handling and migrations.

- docs/timeweb-deployment.md: deployment and migration instructions for Timeweb.
- .gitignore: ignore a secrets/ folder.
- Govor.API.csproj: ensure secrets/** are not copied to output/publish.
- Program.cs: add --migrate-only flag (removes it from args), skip Firebase init when migrating, accept Firebase credentials via CredentialsJson or CredentialsPath/GOOGLE_APPLICATION_CREDENTIALS, resolve relative paths against content root, apply pending EF Core migrations and exit while logging progress.

Normal API startup behaviour unchanged (migrations are applied only with --migrate-only).
2026-10-04 11:22:39 +07:00