From 62e9fa2e9a6ea99f18ad9c67181ab60580f95270 Mon Sep 17 00:00:00 2001 From: DeveloperDurp Date: Thu, 9 May 2024 19:07:59 -0500 Subject: [PATCH] update --- scripts/gitlab/create-environment.sh | 3 --- templates/gitlab.tpl.yml | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/gitlab/create-environment.sh b/scripts/gitlab/create-environment.sh index 006ba93..99d1af4 100644 --- a/scripts/gitlab/create-environment.sh +++ b/scripts/gitlab/create-environment.sh @@ -5,9 +5,6 @@ echo " deploy_$VERSION: stage: deploy - needs: - - pipeline: $PARENT_PIPELINE_ID - job: version script: - echo "Deploy to staging server" environment: diff --git a/templates/gitlab.tpl.yml b/templates/gitlab.tpl.yml index e4501f2..62d67e3 100644 --- a/templates/gitlab.tpl.yml +++ b/templates/gitlab.tpl.yml @@ -24,6 +24,9 @@ generate-config: stage: build + needs: + - pipeline: $PARENT_PIPELINE_ID + job: version script: - ./scripts/gitlab/create-environment.sh artifacts: