pyvec / elsa

Helper module for hosting Frozen-Flask based websites on GitHub pages
Other
28 stars 49 forks source link

Inconsistency between Travis and local deploy #14

Closed hroncok closed 7 years ago

hroncok commented 7 years ago

On Travis:

Locally:

We can do one of the following:

encukou commented 7 years ago

Or we can make it configurable.

I'd opt for keeping single commit, or defaulting to that.

hroncok commented 7 years ago

I've decided making it configurable would add an unnecessary complexity for almost no reason. Went with the documented behavior.

hroncok commented 7 years ago

Deleting the local branch is not enough. ghp-import checks origin/gh-pages and rebases on top of that https://github.com/davisp/ghp-import/blob/3fd376d66d1626da00c623193ff04169afb9c97f/ghp_import.py#L69

hroncok commented 7 years ago

It would need to do something like rm .git/refs/remotes/origin/gh-pages if origin is the right remote.