Skip to content

Publish personal GitHub pages #354

@jiahao

Description

@jiahao

I've switched over to using mkdocs for my personal page and am really liking the output.

I'd like to request that gh-deploy be extended to support personal GitHub pages also. Unlike project pages, personal pages must have repository names <username>.github.io, and the project is published to the master branch instead of gh-pages. Everything works fine if I do it manually so I presume supporting personal pages automatically should not be too difficult.

Edit: I have a hacky Makefile that emulates gh-deploy (assumes that the markdown source is on a branch called mkdocs and deploys to master):

site:
    git checkout mkdocs
    mkdocs build
    git checkout master
    cp -R site/* .
    rm -rf site
    echo Ready to commit and push

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions