Open wzup opened 5 years ago
Having same issue. Quick workaround is use --repo <url>
or -r <url>
I have the same issue. It's strange, because the command that gh-pages is running is simply git config --get remote.<remote name>.url
, and I can execute that in the shell without issue. Perhaps the call is failing within child_process
for an unexpected reason.
Hey, I came across this issue via this StackOverflow. The solution worked thanks to @kalvinpearce's super useful comment.
How are we supposed to know that those options (--repo
, -b
...) exists?
The documentation (README.md) doesn't even mention anything. There is only snippets of code we have no idea where to stick them in.
I added them to the readme here: https://github.com/tschaub/gh-pages/pull/333
Seems to be fixed, following works for me now:
gh-pages -d build -b master --remote gh-pages
Was having issues with this command in version 2.2.0, but can confirm this is now fixed in version 3.1.0.
gh-pages --remote tps -d dist
Having same issue. Quick workaround is use
--repo <url>
or-r <url>
Where to put this and when
I have two remote repositories in my git,
origin
andprod
. Both exist on GitHub too:I have configured
gh-pages
to deploy toprod
repo (not to origin) as written here:Why do I get error? How to fix? This is really a bug according to documents