Skip to content

Continuous deployment of MAV-921_continuous_deployment_job to QA and Test #19

Continuous deployment of MAV-921_continuous_deployment_job to QA and Test

Continuous deployment of MAV-921_continuous_deployment_job to QA and Test #19

name: Continuous deployment
run-name: Continuous deployment of ${{ github.ref_name }} to QA and Test
on:
push:
branches: [MAV-921_continuous_deployment_job]
workflow_dispatch:
inputs:
environment:
description: "Deployment environment"
required: true
type: choice
options:
- qa
- poc
- test
- preview
- training
- copilotmigration
jobs:
build-and-push-image:
uses: ./.github/workflows/build-and-push-image.yml
deploy-mavis:
needs: build-and-push-image
strategy:
fail-fast: false
matrix:
environment: ${{ fromJSON(github.event_name == 'workflow_dispatch' && format('["{0}"]', inputs.environment) || '["qa", "test"]') }}
uses: ./.github/workflows/deploy-mavis.yml
with:
environment: ${{ matrix.environment }}