Is it possible to determine if the step is performing a regular deployment or a redeployment?
I need this context to be able to perform custom functionality if the step is redeploying instead of just a regular deploy.
Checking all the environment variables, Bitbucket doesn't seem to expose anything. Best I think I could do is check the current build number or commit hash and determine if it's a redeploy based on that.