bisnow/Storyblok dev → prod sync
Promote the Storyblok components, assets and stories named in .storyblok_sync/*.json from a dev space to a prod space, remapping every cross-space reference via the Management API.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| dev-space-id | Source (dev) space id. | yes | — |
| prod-space-id | Target (prod) space id. | yes | — |
| region | Storyblok region for both spaces (eu | us | ca | ap | cn). | no | us |
| dev-token | Personal access token with read access to the dev space. | yes | — |
| prod-token | Personal access token with write access to the prod space (may equal dev-token). | yes | — |
| sync-dir | Directory in the consumer repo holding the *.json sync files. | no | .storyblok_sync |
| dry-run | When true, log the planned writes without calling the API. | no | false |
| update-stories | After assets change, repair asset references in existing prod stories not in this sync set. | no | true |
| prune-presets | Delete stale presets of a synced component that no longer exist in dev. | no | true |
| fail-on-partial | Exit non-zero when some (but not all) items fail. | no | true |
| debug | Force-visible debug logging, including every MAPI call. Also auto-on under GitHub step-debug. | no | false |
| clear-processed-files | Delete each sync file whose items all succeeded from the working tree (the workflow commits the deletions). | no | false |
Outputs
| name | description |
|---|---|
| components-synced | Number of components created or updated. |
| assets-synced | Number of assets created or updated. |
| stories-synced | Number of stories created or updated. |
| summary | Human-readable one-line summary of the run. |
| cleared-files | Comma-separated list of sync files the action deleted (for the workflow to commit). |