diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 23b81193e92dfa3d1bc6d22aa461a7a69af8fbe2..ecfc38678eedb37e7ff382c2406e7c57f8cc639f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -81,16 +81,13 @@ build_and_deploy: - ./oaipmh-webapp/target/*.deb # Just build any branch and test. NO JAR, NO DEB deployed hrer! -build_and_deploy: - image: maven:3.8.3-jdk-8 - only: - - branches - except: - - develop - - main - stage: deploy_java - script: - - 'mvn $MAVEN_OPTS $MAVEN_CLI_OPTS $MAVEN_DEPLOY_OPTS -U clean verify' +#build_and_deploy: +# image: maven:3.8.3-jdk-8 +# only: +# - branches +# stage: deploy_java +# script: +# - 'mvn $MAVEN_OPTS $MAVEN_CLI_OPTS $MAVEN_DEPLOY_OPTS -U clean verify' # Deploy SNAPSHOT DEB file to APTLY repository. deploy_oaipmh-webapp_dev: