Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How may I integrate diez figma design token extraction with CI/CD? #123

Open
fusionstrings opened this issue May 8, 2020 · 3 comments
Open

Comments

@fusionstrings
Copy link

I loved the project. I am using it with figma extractor. Among many uses I want to integrate Diez in CI/CD system to generate design tokens during build step.
It is not mentioned in the documentation that how may I pass auth token directly without oauth flow.

Is there any method I can achieve my objective?

@stale
Copy link

stale bot commented Jul 7, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 7, 2020
@phil-lgr
Copy link

phil-lgr commented Jul 13, 2020

You can specify the token in the diezrc file, I haven't tried recently, it should be documented

@renelinked
Copy link

diez writes the token to ~/.diez/registry.json (e.g. on your local machine). You would need to put the contents in secret variables, and create that file on the fly for the pipeline a step before diez runs. works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants