Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to set up hexo-admin in gh-pages #41

Closed
whelamc opened this issue Dec 14, 2015 · 4 comments
Closed

how to set up hexo-admin in gh-pages #41

whelamc opened this issue Dec 14, 2015 · 4 comments

Comments

@whelamc
Copy link

whelamc commented Dec 14, 2015

No description provided.

@whelamc whelamc changed the title how how to set up hexo in gh-pages Dec 14, 2015
@whelamc
Copy link
Author

whelamc commented Dec 14, 2015

issue name

@jaredly
Copy link
Owner

jaredly commented Dec 14, 2015

The way I do it:

cd my-hexo-blog
git clone git@...my-repo.git pages --branch=gh-pages
hexo gen
rsync -r public/ pages
cd pages && git commit -am "update" && git push

@whelamc whelamc changed the title how to set up hexo in gh-pages how to set up hexo-admin in gh-pages Dec 15, 2015
@whelamc
Copy link
Author

whelamc commented Dec 15, 2015

maybe i write the wrong issue name , i want use the hexo-admin for my hexo page and which is bulit in gh-pages branch in other repo not the xxx.github.io , how can i do that?

@jaredly
Copy link
Owner

jaredly commented Dec 15, 2015

do you want hexo-admin to be usable from gh-pages? As in "I go to some-site.com/admin (hosted by gh-pages) and it works?" because that's not possible - github pages is a static host, and can't have dynamic things like hexo-admin.

If you want to know how to publish hexo to gh-pages, see my script, or I'm sure the hexo docs have great instructions.

@whelamc whelamc closed this as completed Dec 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants