diff --git a/CHANGELOG.md b/CHANGELOG.md index 8edd432..ac7083d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## Changed + +- Force push when deploying + ## [0.1.0] - 2022-10-04 First release with changelog diff --git a/dokkusd/deploy.py b/dokkusd/deploy.py index dcce3f5..8030510 100644 --- a/dokkusd/deploy.py +++ b/dokkusd/deploy.py @@ -110,7 +110,7 @@ def go(self) -> None: # --------------------- Deploy print("Deploy ...") process = subprocess.Popen( - ["git", "push", git_remote_name], + ["git", "push", "-f", git_remote_name], stdout=subprocess.PIPE, stderr=subprocess.PIPE, cwd=self.directory,