jandecaluwe / urubu

A micro CMS for static websites, with a focus on good navigation practices.
urubu.jandecaluwe.com
GNU Affero General Public License v3.0
179 stars 36 forks source link

Deployment with git subtree push --prefix _build origin gh-pages #60

Open ColinBretonio opened 7 years ago

ColinBretonio commented 7 years ago

I deployed with the suggested command line instruction:

git subtree push --prefix _build origin gh-pages

I was deploying to a site under the root of <MYNAME>.github.io/<MYPROJECT> as instructed.

The deploy was unsuccessful. Pages two levels down from the root are not uploaded. Or at least they are not served, let me check.

Okay, they are uploaded but not served.

Where did I go wrong?

The thing is that I have deployed successfully to surge from /home/usr/urubuproject/_build.

What I would really like to do is publish to a USERNAME.github.io personal site. How would I do that?

jandecaluwe commented 7 years ago

Mm, it seems that repo doesn't even have a master branch, perhaps that is the issue.

Deploying is a custom task. Even on github, it seems quite different between user versus project pages.

I would start to make sure things work with a basic manual setup, and only then try deploy from an urubu repo.