Closed stephenhmarsh closed 3 years ago
It seems strange that the "source branch" flag doesn't (currently) mean something like "a different branch of your project to build the storybook from, rather than the current branch." This is what I would assume from the name and the docs.
Instead, the command on line 76 (git push --force --quiet ${GIT_URL} ${SOURCE_BRANCH}:${TARGET_BRANCH}
) uses "source branch" in the context of the new, temporary repo in OUTPUT_DIR
.
I'm wondering if there shouldn't also be a much earlier step to git checkout <source-branch>
before anything is built?
:rocket: PR was released in v2.8.10
:rocket:
this fixes https://github.com/storybookjs/storybook-deployer/issues/86 for me