This repository has been archived by the owner on May 10, 2024. It is now read-only.
Adding npm login to batch script #30
Unanswered
onevcard-team
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hey Luca,
This will then be used for EDIT: I recommand using an access token instead of username and password for automation/scripts. |
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
-
Hello Capawesome Team,
we are currently experiencing some issues regarding the npm login in our batch script that we use for triggering a docker login/build.
When performing the npm login it needs a username and password and we want to automatically fill these with the env variable GITHUB_USERNAME and GITHUB_PASSWORD.
I have tried a few things now but non of the solutions i found were working.
Reading out the values from the .env file is already working but piping it to the login command not.
Is there a way that we can do this?
Greetings
Luca
Beta Was this translation helpful? Give feedback.
All reactions