From d47f577918718ccebc93a4e0a7fa4a4ae552c097 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 19 Sep 2023 15:08:21 -0600 Subject: [PATCH] deploy on tag only --- .gitlab-ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6c3420bd7..ce7817837 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -63,10 +63,7 @@ default: .production-env: &production-env if: > $CI_PROJECT_PATH == $UPSTREAM_PATH - && ( - $CI_COMMIT_BRANCH == 'production' - || ( $CI_COMMIT_TAG && $CI_COMMIT_TAG != '' ) - ) + && ( $CI_COMMIT_TAG && $CI_COMMIT_TAG != '' ) variables: ENVIRONMENT: production -- GitLab