Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sorry if the question has already been asked.
I tried to understand the documentation but it's not clear to me.
I want to publish my .npmrc for example, but of course I don't want the tokens to be pushed to GitHub. Therefore, I read about the templating section.
I've managed to add the template extension, and
execute-template
returns the value from the vault as expected.What I'm struggling to understand is what should i do with my npmrc.
Should I replace the NPM_TOKEN with the template syntax? But in that case my .npmrc will not work anymore...
Or should I rename the .npmrc to .npmrc.tmpl and publish the template only? In that case if I want to change anything in npmrc, do i need to publish it in both the .npmrc and the template?
Beta Was this translation helpful? Give feedback.
All reactions