@@ -279,6 +279,25 @@ jobs:
279279 docker_context : ./application/account
280280 docker_file : ./Workers/Dockerfile
281281
282+ back-office-stage :
283+ name : Back Office Staging
284+ if : ${{ needs.build-and-test.outputs.deploy_staging == 'true' }}
285+ needs : [build-and-test, database-migrations-stage, api-stage]
286+ uses : ./.github/workflows/_deploy-container.yml
287+ secrets : inherit
288+ with :
289+ azure_environment : " stage"
290+ cluster_location_acronym : ${{ vars.STAGING_CLUSTER_LOCATION_ACRONYM }}
291+ service_principal_id : ${{ vars.STAGING_SERVICE_PRINCIPAL_ID }}
292+ subscription_id : ${{ vars.STAGING_SUBSCRIPTION_ID }}
293+ image_name : account-api
294+ container_app_name : back-office
295+ version : ${{ needs.build-and-test.outputs.version }}
296+ artifacts_name : account-api
297+ artifacts_path : application/account/Api/publish
298+ docker_context : ./application/account
299+ docker_file : ./Api/Dockerfile
300+
282301 database-migrations-prod1 :
283302 name : Database Production
284303 if : ${{ needs.build-and-test.outputs.deploy_production == 'true' }}
@@ -331,3 +350,22 @@ jobs:
331350 artifacts_path : application/account/Workers/publish
332351 docker_context : ./application/account
333352 docker_file : ./Workers/Dockerfile
353+
354+ back-office-prod1 :
355+ name : Back Office Production
356+ if : ${{ needs.build-and-test.outputs.deploy_production == 'true' }}
357+ needs : [build-and-test, database-migrations-prod1, api-prod1]
358+ uses : ./.github/workflows/_deploy-container.yml
359+ secrets : inherit
360+ with :
361+ azure_environment : " prod"
362+ cluster_location_acronym : ${{ vars.PRODUCTION_CLUSTER1_LOCATION_ACRONYM }}
363+ service_principal_id : ${{ vars.PRODUCTION_SERVICE_PRINCIPAL_ID }}
364+ subscription_id : ${{ vars.PRODUCTION_SUBSCRIPTION_ID }}
365+ image_name : account-api
366+ container_app_name : back-office
367+ version : ${{ needs.build-and-test.outputs.version }}
368+ artifacts_name : account-api
369+ artifacts_path : application/account/Api/publish
370+ docker_context : ./application/account
371+ docker_file : ./Api/Dockerfile
0 commit comments