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

Add support to get custom env variables. #450

Merged
merged 2 commits into from
Sep 14, 2016
Merged

Add support to get custom env variables. #450

merged 2 commits into from
Sep 14, 2016

Conversation

arunoda
Copy link
Member

@arunoda arunoda commented Sep 13, 2016

User can pass env. variables prefixed with STORYBOOK_
and it'll be passed to the client.

If our env variable is STORYBOOK_SCORE=100, then you can get it via process.env.STORYBOOK_SCORE from the client.

Todo

  • Update docs on getstorybook.io

User can pass env. variables prefixed with STORYBOOK_
and it'll be passed to the client.
If our env variable is STORYBOOK_SCORE=100, then you can get it
via 'process.env.STORYBOOK_SCORE' from the client.
Copy link

nx-cloud bot commented Jan 7, 2025

View your CI Pipeline Execution ↗ for commit b4ceb25.

Command Status Duration Result
nx run-many -t build --parallel=3 ✅ Succeeded 1m 39s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-07 20:20:15 UTC

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

Successfully merging this pull request may close these issues.

2 participants