Replies: 1 comment 4 replies
-
We have added some new feature in 1.2 currently in pre-release version for Quarto projects:
Using both of those options should be the way to go to manage local vs deployment environment. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! May I ask on how one would go about using the values in a
.env
file?I would like to avoid publishing some secrets/credentials on the public repo and using something like GitHub Actions since we publish using
quarto publish netlify
directly (convenient for images).I've tried poring through the documentation (Guide or Reference) for some hint on how to do this such as
{{< env EXAMPLE_VAR >}}
but I can't seem to find any.I currently make do with finding and replacing specific strings from the
_quarto.yml
file with a pre-render script and reversing the changes with a post-render script.Any ideas on how to do this in a less scrappy/native to Quarto way? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions