Skip to content

Commit

Permalink
deploy: Force push when deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
odscjames committed Nov 1, 2022
1 parent a5a4f7c commit 850b2a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion dokkusd/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 850b2a3

Please sign in to comment.