Closed amanvishnani closed 4 years ago
You can provide the force option to the deploy-via-git
command
Ref: https://circleci.com/orbs/registry/orb/circleci/heroku
Ref: https://github.com/CircleCI-Public/heroku-orb/blob/master/src/commands/deploy-via-git.yml#L27-L30
you can use a similar code to this
jobs:
# deploy master branch
deploy-staging:
steps:
- checkout
- heroku/install
- heroku/deploy-via-git:
force: true
branch: master
I want to set force flag to true.
Docs do not mention the Env variable to set the force flag. If possible please guide me. I am new to circle ci and orbs.