feature/esb-deploy-action #49
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-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
|
||||||
|
|
|
||||||
|
|
@ -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'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue