posthog/PostHog/upload-source-maps
Inject and upload sourcemaps with posthog-cli
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| directory | Directory containing built assets (e.g., `dist`) | yes | — |
| api-key | PostHog personal API key with error tracking write scope. See https://app.posthog.com/settings/user-api-keys#variables | yes | — |
| project-id | PostHog project ID. See https://app.posthog.com/settings/project#variables | yes | — |
| release-name | Release name. If not provided, the action tries to read the Git repository name. If it cannot determine a value, the action fails | no | — |
| release-version | Release version (e.g., commit SHA). If not provided, the action uses the current commit SHA. If it cannot determine a value, the action fails | no | — |
| build | Build number (e.g., 42, CFBundleVersion on iOS, versionCode on Android). Stored as release metadata. | no | — |
| host | PostHog host URL. If you use the US cloud, you don't need to set this. For the EU cloud, set `https://eu.posthog.com` | no | — |
| delete-after-upload | Whether to delete the source map files after uploading them | no | false |
| skip-ssl-verification | Whether to skip SSL verification when uploading chunks - only use when using self-signed certificates for self-deployed instances | no | false |
| batch-size | The maximum number of chunks to upload in a single batch (default: 50) | no | — |
| ignore | One or more directory glob patterns to ignore (comma-separated) | no | — |
| cli-version | PostHog CLI version to use (e.g., '0.5.29'). If not provided, the latest version is used | no | latest |
Outputs
no outputs