feature/esb-deploy-action #49

Merged
Sebastian.Boehringer merged 2 commits from feature/esb-deploy-action into main 2026-06-17 06:54:26 +00:00
3 changed files with 6 additions and 0 deletions

View file

@ -11,6 +11,7 @@ Deploy a service to an ESB docker host.
| `maven-profile` | No | `test` | Maven profile to activate during deploy | | `maven-profile` | No | `test` | Maven profile to activate during deploy |
| `maven-settings` | **Yes** | — | Secret containing the `settings.xml` content used for repository authentication | | `maven-settings` | **Yes** | — | Secret containing the `settings.xml` content used for repository authentication |
| `service` | Yes | — | Name of the service to deploy | | `service` | Yes | — | Name of the service to deploy |
| `stage` | No | true | If true this is a stage deployment |
## Usage ## Usage
@ -22,6 +23,7 @@ Deploy a service to an ESB docker host.
java-version: 8 java-version: 8
maven-profile: test maven-profile: test
maven-settings: ${{ secrets.MAVEN_SETTINGS }} maven-settings: ${{ secrets.MAVEN_SETTINGS }}
stage: true
``` ```
## Notes ## Notes

View file

@ -17,6 +17,9 @@ inputs:
required: true required: true
service: service:
description: Name of the service to deploy description: Name of the service to deploy
required: true
stage:
description: Whether to deploy to stage environment (true) or production environment (false)
required: false required: false
default: 'true' default: 'true'

View file

@ -97,6 +97,7 @@ runs:
run: | run: |
mvn --batch-mode $VERIFY_GOALS \ mvn --batch-mode $VERIFY_GOALS \
-s /tmp/maven-settings.xml \ -s /tmp/maven-settings.xml \
-P "$MAVEN_PROFILE" \
$EXTRA_ARGS $EXTRA_ARGS
- name: Deploy - name: Deploy