Deploy #3
Workflow file for this run
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: Deploy | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| branch_name: | |
| description: 'Which branch to deploy' | |
| required: true | |
| type: string | |
| commit_sha: | |
| description: 'Commit SHA to deploy' | |
| required: false | |
| environment_name: | |
| description: 'Which environment to deploy to' | |
| required: true | |
| type: string | |
| triggered_by: | |
| description: 'Username that triggered deployment (not required, shown if triggered via GitHub UI, logged if triggered via GitHub app)' | |
| required: false | |
| type: string | |
| concurrency: ${{ github.event.inputs.environment_name }} | |
| env: | |
| CI: true | |
| jobs: | |
| deploy: | |
| uses: ls1intum/.github/.github/workflows/deploy-docker-compose.yml@main | |
| with: | |
| environment: ${{ inputs.environment_name }} | |
| docker-compose-file: "./docker-compose.prod.yaml" | |
| main-image-name: ghcr.io/ls1intum/module-management/server | |
| image-tag: "" | |
| deployment-base-path: "/opt/module-management" | |
| secrets: inherit |