Skip to content

Deploy

Deploy #36

Workflow file for this run

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/docker-compose.prod.yaml"
main-image-name: ghcr.io/ls1intum/module-management/server
image-tag: ""
deployment-base-path: "/opt/module-management"
secrets: inherit