Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Error on executing git config --get remote.upstream.url #126

Open
yasin-amadmia-mck opened this issue Aug 10, 2022 · 0 comments
Open

Error on executing git config --get remote.upstream.url #126

yasin-amadmia-mck opened this issue Aug 10, 2022 · 0 comments
Labels

Comments

@yasin-amadmia-mck
Copy link

yasin-amadmia-mck commented Aug 10, 2022

Describe the bug

Failing to run deploy-storybook on GitHub Actions

When trying to run

npm run deploy-storybook -- --ci --host-token-env-variable=GITHUB_TOKEN

we get this error. Looks like issue with getting remote.upstream.url.
This is part of GitHub Actions where we have a step to checkout the repo via actions/checkout@v3 and then this deploy-storybook step

=> Getting the git remote URL
   executing: git config --get remote.upstream.url
/__w/PROJECT/PROJECT/node_modules/@storybook/storybook-deployer/src/utils.js:[14](https://github.com/ORG/REPO/runs/7777101279?check_suite_focus=true#step:7:15)
  throw new Error(
  ^

Error: Exec code(1) on executing: git config --get remote.upstream.url

ALSO TRIED npm run deploy-storybook -- --remote=upstream

@yasin-amadmia-mck yasin-amadmia-mck changed the title [Bug] Error on executing git config --get remote.upstream.url Aug 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

1 participant