How to configure Github Action with GIGET_AUTH #43
martijnhalekor
started this conversation in
General
Replies: 1 comment 2 replies
-
|
I figured it out! I simply had to add the env property, referring to the secret I stored at GitHub. See example below for the missing piece of the puzzle. - name: Install packages
run: npm ci
env:
GIGET_AUTH: ${{ secrets.GIGET_AUTH }} |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I am setting up a GitHub Action which runs tests when a PR is created. I am however stuck in the
installstep as my Nuxt project is depending on a layer, hosted as a private GitHub repository. I have added GIGET_AUTH as a secret in the repo settings on github, but the install step returns the following error:Failed to download https://api.github.com/repos/kraftersnl/krafters-ui/tarball/main: 404 Not FoundI have no issue with the Nuxt layer setup when deploying our app, but I can't get the GitHub Action working 😐
My github action:
Am I missing an obvious confguration setting or is the
GIGET_AUTHtoken not supported in GitHub Actions?Thanks in advance! 🙏
Beta Was this translation helpful? Give feedback.
All reactions