mirror of
https://github.com/Kingsrook/qqq-frontend-material-dashboard.git
synced 2025-07-17 21:00:45 +00:00
Update to only deploy commits to dev branch, or with version- or snapshot- tags
This commit is contained in:
@ -39,8 +39,8 @@ commands:
|
||||
- run:
|
||||
name: Install Browser dependencies
|
||||
command: |
|
||||
sudo apt update
|
||||
sudo apt install -y libnss3-dev libgdk-pixbuf2.0-dev libgtk-3-dev libxss-dev
|
||||
sudo apt update
|
||||
sudo apt install -y libnss3-dev libgdk-pixbuf2.0-dev libgtk-3-dev libxss-dev
|
||||
|
||||
- restore_cache:
|
||||
keys:
|
||||
@ -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)-.*/
|
||||
|
||||
|
Reference in New Issue
Block a user