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 35
35
- name : Can I deploy?
36
36
run : GIT_BRANCH=${GITHUB_REF:11} make can_i_deploy
37
37
38
- # Only deploy from master
38
+ # Only deploy from main
39
39
deploy :
40
40
runs-on : ubuntu-latest
41
41
needs : can-i-deploy
44
44
- run : docker pull pactfoundation/pact-cli:latest
45
45
- name : Deploy
46
46
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 41
41
// These properties need to be set on the test JVM process
42
42
systemProperty(" pact.provider.version" , System . getenv(" GIT_COMMIT" ) == null ? " " : System . getenv(" GIT_COMMIT" ))
43
43
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" ))
45
45
systemProperty(" pactbroker.consumerversionselectors.rawjson" , " [{\" mainBranch\" :true}]" )
46
46
systemProperty(" pact.verifier.publishResults" , System . getenv(" PACT_BROKER_PUBLISH_VERIFICATION_RESULTS" ) == null ? " false" : " true" )
47
47
}
You can’t perform that action at this time.
0 commit comments