Skip to main content
Store GOALMATIC_TOKEN in the CI secret manager and run npx goalmatic@beta whoami --json or npx goalmatic@beta status --json. Use a CLI session issued by goalmatic login. App web keys and Firebase tokens are different credentials. The session expires after 30 days and can be revoked with goalmatic logout. Dedicated long-lived CI credentials are not part of this beta. GOALMATIC_TOKEN is bound to https://goalmatic.site by default. For another API origin, set GOALMATIC_API_URL to that origin and pass the same --api-url to the command. A repository’s apiOrigin cannot redirect an environment token to another host. Use --json for machine-readable output. Pin the CLI version in the CI image or lockfile. Keep production publish behind the repository approval rule. A Git push, a preview, and an App release submission are separate events. Never commit credentials or put them in client-side environment files.