Configure GitHub PAT

How do I configure my GitHub PAT (Personal Access token) while deploying my nestJS app on railway?
5 Replies
Percy
Percy16mo ago
Project ID: 3bbd4a87-8f97-4c9f-ae12-fc19da4d521a
iamdhritiman01
iamdhritiman01OP16mo ago
3bbd4a87-8f97-4c9f-ae12-fc19da4d521a
Adam
Adam16mo ago
Railway doesn’t need a PAT for deployments, what do you need it for? @iamdhritiman01
iamdhritiman01
iamdhritiman01OP16mo ago
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'
Adam
Adam16mo ago
what error message did you get? I’m assuming you have your PAT in an env var that’s the best I can do
Want results from more Discord servers?
Add your server