Manual Build & Deploy #24
This file contains hidden or 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 Build & Deploy | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| target: | |
| description: 'The application target to deploy (e.g., backend, auth).' | |
| required: true | |
| type: string | |
| version: | |
| description: 'The specific version to deploy (e.g., v1.2.3). Defaults to latest if not provided.' | |
| required: false | |
| type: string | |
| jobs: | |
| trigger-build-and-deploy: | |
| uses: ./.github/workflows/deploy-base.yml | |
| with: | |
| target: ${{ github.event.inputs.target }} | |
| version: ${{ github.event.inputs.version || 'latest' }} | |
| secrets: inherit |