From 9c4d16fa1440de17888f505bbb18f0f6ad5deacd Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart <emmanuel@raviart.com> Date: Thu, 28 Oct 2021 17:29:40 +0200 Subject: [PATCH] Fix prod deploy. --- gitlab-ci/src/gitlab-ci.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gitlab-ci/src/gitlab-ci.ts b/gitlab-ci/src/gitlab-ci.ts index 6831370a8..4fd948c24 100644 --- a/gitlab-ci/src/gitlab-ci.ts +++ b/gitlab-ci/src/gitlab-ci.ts @@ -208,9 +208,6 @@ async function main() { await triggerDevDeployPipeline() await triggerProdDeployPipeline() } - - await triggerDevDeployPipeline() - await triggerProdDeployPipeline() } else { console.log( `Unhandled event "${CI_PIPELINE_SOURCE}" in branch "${CI_COMMIT_BRANCH}".`, @@ -251,7 +248,7 @@ async function main() { // => Create a new version of project. await commitAndPushWithUpdatedVersions(nextVersionObject) await triggerDevDeployPipeline() - // await triggerProdDeployPipeline() + await triggerProdDeployPipeline() } } } else if (CI_COMMIT_TAG !== undefined) { -- GitLab