mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
Ensure gh-deploy always pushes
This was a regression in behavior. I had missed that `push` and `force` are two separate parameters of `ghp_import.ghp_import` in #2257.
This commit is contained in:
@@ -21,6 +21,10 @@ The current and past members of the MkDocs team.
|
||||
* [@d0ugal](https://github.com/d0ugal/)
|
||||
* [@waylan](https://github.com/waylan/)
|
||||
|
||||
## Version 1.2.1 (Under Development)
|
||||
|
||||
* Bugfix: Ensure 'gh-deploy' always pushes.
|
||||
|
||||
## Version 1.2 (2021-06-04)
|
||||
|
||||
### Major Additions to Version 1.2
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
|
||||
# For acceptable version formats, see https://www.python.org/dev/peps/pep-0440/
|
||||
__version__ = '1.2'
|
||||
__version__ = '1.2.1.dev1'
|
||||
|
||||
@@ -110,7 +110,8 @@ def gh_deploy(config, message=None, force=False, ignore_version=False, shell=Fal
|
||||
mesg=message,
|
||||
remote=remote_name,
|
||||
branch=remote_branch,
|
||||
push=force,
|
||||
push=True,
|
||||
force=force,
|
||||
use_shell=shell,
|
||||
nojekyll=True
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user