ci: read the production env from Infisical and deploy on push
Build and Deploy Spoon / quality (push) Failing after 9s
Build and Deploy Spoon / build-images (push) Skipped

Each job logs in as the read-only spoon-ci machine identity and exports the Infisical prod environment, so production values no longer live in Gitea. After pushing the images, CI asks the VPS to redeploy podman-spoon.service over the forced-command deploy key, with the key passed through env so the printed script never contains it. Installs survive a half-written runner cache, and one production deploy runs at a time.

Infisical prod carries a valid JWKS; the copy in DOTENV_PROD had escaped quotes, so the Convex env sync had been serving invalid JSON at /.well-known/jwks.json. The first sync from Infisical replaces it.
This commit is contained in:
Gabriel Brown committed 2026-10-01 15:39:23 -04:00
1 parent 919d185a85
commit 26a4fd0705
6 files changed
+125 -12

No files matched your search

+4 -3
View File
@@ -1,5 +1,6 @@
{
"workspaceId": "57f4b778-582f-49e2-89e1-5c7e6077facb",
"defaultEnvironment": "",
"gitBranchToEnvironmentMapping": null
"workspaceId": "57f4b778-582f-49e2-89e1-5c7e6077facb",
"defaultEnvironment": "",
"gitBranchToEnvironmentMapping": null,
"domain": "https://infisical.gbrown.org/api"
}