Replies: 1 comment 2 replies
-
|
Hi, I don't think it's a good idea to run For PR deploy previews, I would rather recommend you using Netlify. It's not very expensive, has a free plan, and very easy to set up. About the env variable security, think that a hacker may maliciously update your CI pipeline in his PR, and this code is not safe to run because it might steal your env variable. Each CI has its own solution to this problem (or the lack of solution). I don't know if Travis has an equivalent solution. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
hi there,
very simple question i think-- as our docs site grows, we'd like to welcome the community to contribute by forking and submitting pull requests.
however, our travis CI seems to be failing due to:
I've followed the docusaurus documentation in adding these environment variables in the repository settings on travis, but it makes sense that these variables would be protected from the upstream fork as explained in the travis docs. travis of course works great for internal PRs, pushes, and merges following your instructions.
in general, can i set up deployment such that these external test builds have the correct environment variables? or is this simply not possibly for security reasons? it would be great to have as our project scales. either way, it might be a good addition to the docusaurus docs as i didn't expect this issue to arise (as a novice).
thanks!
Beta Was this translation helpful? Give feedback.
All reactions