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

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

@yasin-amadmia-mck

Description

@yasin-amadmia-mck

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions