All Collections
Distribute design tokens to Destinations
GitHub
How to sync design tokens in a GitHub monorepo?
How to sync design tokens in a GitHub monorepo?

This will help you to handle multiple configuration files in Specify to target one GitHub repository.

Updated over a week ago

Prerequisites

Please make sure you have:

  • A GitHub account

  • A Specify account

  • Multiple repositories containing some design tokens.

Steps

The repositories support having multiple Specify configuration files pointing to the same GitHub Repository.

  • Connect a GitHub Destination to one of your Specify repositories. Learn More ↗︎

  • When connecting GitHub as a Destination to your Specify repository, you can now name your configuration file.

  • The GitHub branch created by Specify used to create and update this destination will be based on the configuration file name.

  • Be sure to update the default template of the configuration file to fit your needs. Learn more ↗︎

  • Connect GitHub to another repository.

  • Name your configuration file differently from the first one.

  • Update your configuration file to fit your needs. Learn more ↗︎.

    Be careful that your output tokens files don't have the same name as in your first configuration file or they will be overwritten by this one.

  • You can now update both of your repositories and enjoy everything in the same GitHub monorepo. 🎉

⚠️ This is not compatible with Legacy repositories.

Did this answer your question?