Automatic Prismic Icons Sync
· One min read
We've automated the process of syncing icons to Prismic! Now, whenever a new version of @ppb/the-wall-icons is released, the icons are automatically synced to Prismic without any manual intervention.
How It Works
Previously, syncing icons to Prismic required manually triggering a GitHub workflow. This was easy to forget and could lead to outdated icons in Prismic.
Now, the sync happens automatically:
- A new version of
@ppb/the-wall-iconsis released - The release creates a Git tag (e.g.,
@ppb/the-wall-icons@9.1.0) - This tag triggers the Prismic sync workflow
- Icons are automatically updated in Prismic
Benefits
- No manual steps — Icons are always in sync with the latest release
- Reduced errors — No risk of forgetting to trigger the sync
- Faster updates — Changes are available in Prismic immediately after release
Technical Details
The automation was implemented by adding a push trigger to the existing sync-prismic-icons.yml workflow that listens for tags matching @ppb/the-wall-icons@*.
For more details, see PR #1482.