Skip to content

Deploy to Production #9

Deploy to Production

Deploy to Production #9

Workflow file for this run

name: Deploy to Production
on:
workflow_dispatch:
inputs:
image-tag:
type: string
description: "Image tag to deploy (default: pr-<number> if PR exists, latest for default branch)"
deploy-app:
type: boolean
default: true
description: (Re-)deploys the app components
deploy-core:
default: false
type: boolean
description: (Re-)deploys NATS, Keycloak, Webhook Inject is usually not necessary and might cause data gaps.
jobs:
deploy-app:
if: ${{ inputs.deploy-app }}
uses: ls1intum/.github/.github/workflows/deploy-docker-compose.yml@main
with:
environment: Production
docker-compose-file: "./docker/compose.prod.app.yaml"
main-image-name: ls1intum/hephaestus/application-server
image-tag: ${{ inputs.image-tag }}
secrets: inherit
deploy-core:
if: ${{ inputs.deploy-core }}
uses: ls1intum/.github/.github/workflows/deploy-docker-compose.yml@main
with:
environment: Production
docker-compose-file: "./docker/compose.prod.core.yaml"
main-image-name: ls1intum/hephaestus/application-server
image-tag: ${{ inputs.image-tag }}
secrets: inherit