templates: fix deployment job
When running with set -u
, the deployment jobs would fail on MRs
because CI_COMMIT_BRANCH is only defined for branch pipelines.
When running with set -u
, the deployment jobs would fail on MRs
because CI_COMMIT_BRANCH is only defined for branch pipelines.