Manual maven deploy workflow #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Manual maven deploy workflow | |
on: | |
workflow_dispatch: | |
inputs: | |
branch: | |
description: "The branch, tag or SHA of the source code to build docker." | |
type: string | |
required: true | |
jobs: | |
checkout: | |
name: Build Java app | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: '10' | |
ref: "${{ inputs.branch }}" | |
deploy-maven: | |
uses: ./.github/workflows/deploy-maven-repository-workflow.yml | |
needs: checkout | |
secrets: inherit |