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:
|
- run:
|
||||||
name: Install Browser dependencies
|
name: Install Browser dependencies
|
||||||
command: |
|
command: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y libnss3-dev libgdk-pixbuf2.0-dev libgtk-3-dev libxss-dev
|
sudo apt install -y libnss3-dev libgdk-pixbuf2.0-dev libgtk-3-dev libxss-dev
|
||||||
|
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
keys:
|
keys:
|
||||||
@ -94,7 +94,6 @@ jobs:
|
|||||||
mvn_test:
|
mvn_test:
|
||||||
executor: java17
|
executor: java17
|
||||||
steps:
|
steps:
|
||||||
## - install_java17
|
|
||||||
- install_npm
|
- install_npm
|
||||||
- mvn_verify
|
- mvn_verify
|
||||||
|
|
||||||
@ -102,15 +101,26 @@ jobs:
|
|||||||
executor: java17
|
executor: java17
|
||||||
steps:
|
steps:
|
||||||
- install_npm
|
- install_npm
|
||||||
|
- mvn_verify
|
||||||
- mvn_deploy
|
- mvn_deploy
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
test_only:
|
test:
|
||||||
jobs:
|
jobs:
|
||||||
- mvn_test:
|
- mvn_test:
|
||||||
context: [ qqq-maven-registry-credentials, kingsrook-slack, build-qqq-sample-app ]
|
context: [ qqq-maven-registry-credentials, kingsrook-slack, build-qqq-sample-app ]
|
||||||
|
filters:
|
||||||
|
branches:
|
||||||
|
ignore: /dev/
|
||||||
|
tags:
|
||||||
|
ignore: /(version|snapshot)-.*/
|
||||||
|
deploy:
|
||||||
|
jobs:
|
||||||
- mvn_deploy:
|
- mvn_deploy:
|
||||||
context: [ qqq-maven-registry-credentials, kingsrook-slack, build-qqq-sample-app ]
|
context: [ qqq-maven-registry-credentials, kingsrook-slack, build-qqq-sample-app ]
|
||||||
requires:
|
filters:
|
||||||
- mvn_test
|
branches:
|
||||||
|
only: /dev/
|
||||||
|
tags:
|
||||||
|
only: /(version|snapshot)-.*/
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user