Merge pull request 'feature/esb-deploy-action' (!49) from feature/esb-deploy-action into main
Reviewed-on: #49
This commit is contained in:
commit
ee976b306e
3 changed files with 6 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ Deploy a service to an ESB docker host.
|
|||
| `maven-profile` | No | `test` | Maven profile to activate during deploy |
|
||||
| `maven-settings` | **Yes** | — | Secret containing the `settings.xml` content used for repository authentication |
|
||||
| `service` | Yes | — | Name of the service to deploy |
|
||||
| `stage` | No | true | If true this is a stage deployment |
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
@ -22,6 +23,7 @@ Deploy a service to an ESB docker host.
|
|||
java-version: 8
|
||||
maven-profile: test
|
||||
maven-settings: ${{ secrets.MAVEN_SETTINGS }}
|
||||
stage: true
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
|
|
|||
|
|
@ -17,6 +17,9 @@ inputs:
|
|||
required: true
|
||||
service:
|
||||
description: Name of the service to deploy
|
||||
required: true
|
||||
stage:
|
||||
description: Whether to deploy to stage environment (true) or production environment (false)
|
||||
required: false
|
||||
default: 'true'
|
||||
|
||||
|
|
|
|||
|
|
@ -97,6 +97,7 @@ runs:
|
|||
run: |
|
||||
mvn --batch-mode $VERIFY_GOALS \
|
||||
-s /tmp/maven-settings.xml \
|
||||
-P "$MAVEN_PROFILE" \
|
||||
$EXTRA_ARGS
|
||||
|
||||
- name: Deploy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue