Skip to main content

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:

  1. A new version of @ppb/the-wall-icons is released
  2. The release creates a Git tag (e.g., @ppb/the-wall-icons@9.1.0)
  3. This tag triggers the Prismic sync workflow
  4. 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.