--provider, --model, --api-key).
Updating a deployment
redeploy pins the exact @studiograph/server version in the service’s start command (npx --yes @studiograph/server@<version> serve) and sets a fresh DEPLOY_TS, which forces a clean build rather than reusing a cached one.
Auto-provisioned secrets
Deploying generates two secrets on the service:Artifact PDF and PNG export
Exporting artifacts to PDF or PNG requires Playwright Chromium on the server. These variables are not set automatically — add them to the Railway service yourself:/workspace keeps them on the persistent volume. To verify, check /api/health — it reports the renderer status under render.playwright.state.
Optional: GitHub-backed config bootstrap
The server can bootstrap its configuration from a GitHub repository:- Set
STUDIOGRAPH_CONFIG_REPOto the repository andGITHUB_TOKENto a token that can read it. - To pick up changes automatically, point a GitHub webhook at
POST /webhooks/githubon your instance and set the same secret in theWEBHOOK_SECRETvariable.