diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 3744b44..b2cae71 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -25,6 +25,7 @@ jobs: branch: 'main' git_remote_url: 'ssh://dokku@v2.discours.io:22/authorizer' ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} + git_push_flags: '--force' - name: Push to dokku for dev branch if: steps.branch_name.outputs.branch == 'dev' @@ -32,4 +33,5 @@ jobs: with: branch: 'main' git_remote_url: 'ssh://dokku@staging.discours.io:22/authorizer' - ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} \ No newline at end of file + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} + git_push_flags: '--force' \ No newline at end of file