Configure GitHub PAT
How do I configure my GitHub PAT (Personal Access token) while deploying my nestJS app on railway?
5 Replies
Project ID:
3bbd4a87-8f97-4c9f-ae12-fc19da4d521a
3bbd4a87-8f97-4c9f-ae12-fc19da4d521a
Railway doesn’t need a PAT for deployments, what do you need it for?
@iamdhritiman01
I need a few packages which are hosted on the GitHub Package Registry, which requires authentication (even to install public packages)
I tried the authentication this way. Didn't work
git config --global credential.helper \
'!f() { echo username=my-github-username; echo "password=$GIT_TOKEN"; };f'
what error message did you get?
I’m assuming you have your PAT in an env var
that’s the best I can do