prisma/Deploy to Prisma Compute

Build and deploy applications to Prisma Compute using the CLI

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
api-tokenPrisma API service token (workspace-scoped, stored as a GitHub secret)yes
compute-service-idTarget compute service ID to deploy toyes
app-pathPath to the application directoryno.
entrypointApplication entrypoint file (auto-detected from package.json if omitted)no
env-varsRuntime environment variables as newline-separated KEY=VALUE pairsno
api-urlManagement API base URL overrideno
timeoutSeconds to wait for the version to reach running statusno120
build-typeBuild strategy: auto (default), bun, or nextjsnoauto
artifact-pathPath to pre-built application output directory (enables skip-build mode; requires entrypoint)no
bun-installControl Bun setup and dependency installation. 'auto' (default): Sets up Bun only if not already on PATH. Installs dependencies when node_modules is missing. Skips install when artifact-path is set. 'true': Always sets up Bun and installs dependencies. 'false': Skips both Bun setup and dependency installation. noauto
github-deploymentControl GitHub Deployment tracking. 'auto' (default): Creates a GitHub Deployment and updates its status on completion. Silently skips if the token lacks 'deployments: write' permission. 'true': Same as auto but fails the workflow if the deployment status cannot be reported. 'false': Disables GitHub Deployment tracking entirely. noauto
environmentGitHub environment name for deployment tracking (e.g. 'production', 'staging', 'preview'). When empty (default), auto-detects based on branch: main/master → 'production', others → 'preview'. no""
skip-promoteDeploy the new version without promoting it to the service endpointnofalse
destroy-old-versionDelete the old version after stopping itnofalse
github-tokenGitHub token for creating deployment statuses. Defaults to the automatic GITHUB_TOKEN.no${{ github.token }}
namedescription
version-idThe created compute version ID (e.g. cpv_...)
version-endpoint-domainThe version-specific endpoint domain
service-endpoint-domainThe stable service endpoint domain
deployment-idThe GitHub Deployment ID (empty if tracking was skipped or unavailable)