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
Describe the bug
Failing to run deploy-storybook on GitHub Actions
When trying to run
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 stepALSO TRIED
npm run deploy-storybook -- --remote=upstream