File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 3535 - name : Can I deploy?
3636 run : GIT_BRANCH=${GITHUB_REF:11} make can_i_deploy
3737
38- # Only deploy from master
38+ # Only deploy from main
3939 deploy :
4040 runs-on : ubuntu-latest
4141 needs : can-i-deploy
4444 - run : docker pull pactfoundation/pact-cli:latest
4545 - name : Deploy
4646 run : GIT_BRANCH=${GITHUB_REF:11} make deploy
47- if : github.ref == 'refs/heads/master '
47+ if : github.ref == 'refs/heads/main '
Original file line number Diff line number Diff line change 4141 // These properties need to be set on the test JVM process
4242 systemProperty(" pact.provider.version" , System . getenv(" GIT_COMMIT" ) == null ? " " : System . getenv(" GIT_COMMIT" ))
4343 systemProperty(" pact.provider.tag" , System . getenv(" GIT_BRANCH" ) == null ? " " : System . getenv(" GIT_BRANCH" ))
44- systemProperty(" pact.provider.branch" , System . getenv(" GIT_BRANCH" ) == null ? " " : System . getenv(" GIT_BRANCH" ))
44+ systemProperty(" pact.provider.branch" , System . getenv(" GIT_BRANCH" ) == null ? " main " : System . getenv(" GIT_BRANCH" ))
4545 systemProperty(" pactbroker.consumerversionselectors.rawjson" , " [{\" mainBranch\" :true}]" )
4646 systemProperty(" pact.verifier.publishResults" , System . getenv(" PACT_BROKER_PUBLISH_VERIFICATION_RESULTS" ) == null ? " false" : " true" )
4747}
You can’t perform that action at this time.
0 commit comments