Update to only deploy commits to dev branch, or with version- or snapshot- tags

This commit is contained in:
2023-04-20 10:53:42 -05:00
parent e64385c271
commit 2bba79443d

View File

@ -94,7 +94,6 @@ jobs:
mvn_test:
executor: java17
steps:
## - install_java17
- install_npm
- mvn_verify
@ -102,15 +101,26 @@ jobs:
executor: java17
steps:
- install_npm
- mvn_verify
- mvn_deploy
workflows:
test_only:
test:
jobs:
- mvn_test:
context: [ qqq-maven-registry-credentials, kingsrook-slack, build-qqq-sample-app ]
filters:
branches:
ignore: /dev/
tags:
ignore: /(version|snapshot)-.*/
deploy:
jobs:
- mvn_deploy:
context: [ qqq-maven-registry-credentials, kingsrook-slack, build-qqq-sample-app ]
requires:
- mvn_test
filters:
branches:
only: /dev/
tags:
only: /(version|snapshot)-.*/