File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ fake_ci:
3939 make ci
4040
4141publish_pacts :
42- @" ${PACT_CLI} " publish ${PWD} /pacts --consumer-app-version ${GIT_COMMIT} --tag ${GIT_BRANCH}
42+ @" ${PACT_CLI} " publish ${PWD} /pacts --consumer-app-version ${GIT_COMMIT} --branch ${GIT_BRANCH}
4343
4444# # =====================
4545# # Build/test tasks
5353# # Deploy tasks
5454# # =====================
5555
56- deploy : deploy_app tag_as_prod
56+ deploy : deploy_app record_deployment
5757
5858no_deploy :
5959 @echo " Not deploying as not on master branch"
@@ -62,15 +62,15 @@ can_i_deploy:
6262 @" ${PACT_CLI} " broker can-i-deploy \
6363 --pacticipant ${PACTICIPANT} \
6464 --version ${GIT_COMMIT} \
65- --to prod \
65+ --to-environment production \
6666 --retry-while-unknown 0 \
6767 --retry-interval 10
6868
6969deploy_app :
7070 @echo " Deploying to prod"
7171
72- tag_as_prod :
73- @" ${PACT_CLI} " broker create-version-tag --pacticipant ${PACTICIPANT} --version ${GIT_COMMIT} --tag prod
72+ record_deployment : .env
73+ @" ${PACT_CLI} " broker record-deployment --pacticipant ${PACTICIPANT} --version ${GIT_COMMIT} --environment production
7474
7575# # =====================
7676# # PactFlow set up tasks
You can’t perform that action at this time.
0 commit comments