Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

This example GitHub repository helps you pull design tokens from several Specify repositories.

Notifications You must be signed in to change notification settings

Specifyapp/pull-from-several-specify-repositories

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to pull design tokens from several Specify repositories in GitHub

This example GitHub repository helps you pull design tokens from several Specify repositories.

It contains a GitHub Action that automatically pulls design tokens from Specify. If your Specify and your GitHub repositoy differ, a new PR will be opened containing your updated design tokens.

What is pulled from Specify

Our GitHub Action is in the file update-design-tokens.yaml.

Let's summarize this workflow:

  1. We install the Specify CLI
  2. We pull design tokens from several Specify repositories from the same example organization @acme-inc: General, Light-Theme and Dark-Theme.
  3. We create a Pull Request on a new branch called specify

How to use this repository

Prerequisites

Please make sure you have:

  1. Several source Specify repositories containing your design tokens
  2. A Specify Personal Access Token

How to pull design tokens from Specify

  1. Set a new repository secret called SPECIFY_TOKEN containing your Specify Personal Access Token in your GitHub repository: Settings > Secrets > Actions
  2. Change the Specify repositories called in the GitHub Action

Don't forget to enable GitHub workflows in your GitHub repository.

About

This example GitHub repository helps you pull design tokens from several Specify repositories.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published