From 8f614c34d5e15e7dcf515e78e6c7ae4dafc150cf Mon Sep 17 00:00:00 2001 From: Christopher Moyer Date: Fri, 14 Oct 2022 01:50:07 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 018817c..b696f43 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,17 +34,14 @@ cache: # For merge requests do not `deploy` but only run `verify`. # See https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html -.verify: &verify - stages: - - test - - upload artifacts +.build: &verify stage: test script: - 'mvn $MAVEN_CLI_OPTS verify' except: variables: - $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - stage: upload artifacts + stage: deploy script: - 'mvn $MAVEN_CLI_OPTS deploy -s ci_settings.xml' except: