From 11767f61e022ef28bfb7aa32bbe5e0e5c75473b0 Mon Sep 17 00:00:00 2001 From: "x.yumoto.k" Date: Mon, 25 Sep 2023 11:38:42 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BE=9D=E5=AD=98=E9=96=A2=E4=BF=82=E3=82=92?= =?UTF-8?q?=E4=B8=80=E6=9C=AC=E9=81=93=E3=81=AB=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- azure-pipelines-production.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/azure-pipelines-production.yml b/azure-pipelines-production.yml index c08aa1b..87f8442 100644 --- a/azure-pipelines-production.yml +++ b/azure-pipelines-production.yml @@ -26,6 +26,8 @@ jobs: # fi # displayName: 'タグが付けられたCommitがmainブランチに存在するか確認' - job: backend_deploy + dependsOn: initialize + condition: succeeded('initialize') displayName: Backend Deploy pool: name: odms-deploy-pipeline @@ -44,6 +46,8 @@ jobs: DockerRepository: '$(Build.Repository.Name)/staging/dictation' DockerImageTag: '$(Build.SourceVersion)' - job: frontend_deploy + dependsOn: backend_deploy + condition: succeeded('backend_deploy') displayName: Deploy Frontend Files variables: storageAccountName: saomdspipeline @@ -89,12 +93,9 @@ jobs: verbose: false azure_static_web_apps_api_token: $(STATIC_DICTATION_DEPLOYMENT_TOKEN) - job: migration - condition: succeeded('initialize') + dependsOn: frontend_deploy + condition: succeeded('frontend_deploy') displayName: DB migration - dependsOn: - - initialize - - backend_deploy - - frontend_deploy pool: name: db-migrate-pipelines steps: