From c598ff61b3b1b573e5709255cd416db4439016e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Thu, 28 Dec 2023 20:03:41 -0500 Subject: [PATCH] refactor(ci): add explicit `needs` to deploy stages --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8b5c5fd..852e7ed 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,6 +29,8 @@ build_stage: deploy_staging: stage: deploy resource_group: staging + needs: + - build_stage environment: name: staging url: https://next.rockfic.com @@ -56,6 +58,8 @@ deploy_staging: - tags deploy_production: stage: deploy + needs: + - build_stage resource_group: production environment: name: production