Skip to content

Commit

Permalink
Switch to pacticipant to provider
Browse files Browse the repository at this point in the history
  • Loading branch information
prbhlnkr123 committed May 17, 2024
1 parent 0523c42 commit df3ee11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pact-provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
-e PACT_BROKER_BASE_URL=$PACT_FLOW_BASE_URL \
-e PACT_BROKER_TOKEN=$PACT_FLOW_TOKEN \
pactfoundation/pact-cli:latest \
pact-broker can-i-deploy --pacticipant $CONSUMER --latest
pact-broker can-i-deploy --pacticipant $PROVIDER --latest
- name: Deploy to Test
run: echo "Deploy to TEST Environment"
Expand All @@ -44,4 +44,4 @@ jobs:
-e PACT_BROKER_BASE_URL=$PACT_FLOW_BASE_URL \
-e PACT_BROKER_TOKEN=$PACT_FLOW_TOKEN \
pactfoundation/pact-cli:latest \
pact-broker record-deployment --broker-base-url=$PACT_FLOW_BASE_URL --broker-token=$PACT_FLOW_TOKEN --pacticipant $CONSUMER --version $GIT_COMMIT --environment 'test'
pact-broker record-deployment --broker-base-url=$PACT_FLOW_BASE_URL --broker-token=$PACT_FLOW_TOKEN --pacticipant $PROVIDER --version $GIT_COMMIT --environment 'test'

0 comments on commit df3ee11

Please sign in to comment.