Open ghost opened 7 years ago
I have same issue!
you should enable github page feature on github project settings
I experienced the same issue. The most confusing thing, that on Mac it works perfectly, but on Linux, where we run CI/CD it failed.
The problem that by default gh-pages clones the repo with --depth=1. That makes the repository shallow and it's impossible to push changes from there. If you will check your folder
node_modules/gh-pages/cache/git@
The simplest way which I found to fix that issue is to specify --depth=0.
Example how i do it in my gulp configuration:
gulp.task('gh-publish', (cb) => ghPages.publish(
${paths.ghPagesDir}, {depth: 0, dotfiles: true}, cb));
I have a githab repository and project Page as github pages. In the project directory that I use the github repository created has git push, git pull, git build and git deploy without problems. The site can be found at http://ux.kwpse.com call. Unfortunately, it is not possible to make the page using https://ux.kwpse.com call. In the settings, it is explicitly pointed out, That it is not possible to call custom subdomains with https.
I have on another computer the repository via git clone downloaded. Git pull, git push, git build works perfectly.
I onlye hae git version 1.8.3.1. This can be the reason for this error. But it is not possible to update git.
I suspect that the cause is the subdomain. How do I solve the problem? With git deploy I get the following error message:
Here the message from the first Repo
I got an answer from the git team.