Configure GitHub PAT

How do I configure my GitHub PAT (Personal Access token) while deploying my nestJS app on railway?
5 Replies
Percy
Percy15mo ago
Project ID: 3bbd4a87-8f97-4c9f-ae12-fc19da4d521a
iamdhritiman01
iamdhritiman0115mo ago
3bbd4a87-8f97-4c9f-ae12-fc19da4d521a
Adam
Adam15mo ago
Railway doesn’t need a PAT for deployments, what do you need it for? @iamdhritiman01
iamdhritiman01
iamdhritiman0115mo 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
Adam15mo 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