From 8a3966dbbd63e090aeb6f4745351590c388b0313 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Wed, 8 Jun 2022 16:09:04 -0500 Subject: [PATCH] Updated config.yml --- .circleci/config.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fed4376f..6ddbebb5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,25 +11,24 @@ orbs: workflows: main: jobs: - ################################################################################## - ## Job (based on maven orb) to test the codebase. Should run for all branches. ## - ################################################################################## + ############################################################################## + ## Job (from maven orb) to test the codebase. Should run for all branches. ## + ############################################################################## - maven/test: name: run_tests executor: java17 - ############################################################################################## - ## Job (based on maven orb) to do a mvn deploy to publish jar to github qqq-maven-registry. ## - ############################################################################################## + ############################################################################################# + ## Job (from maven orb) to do a mvn deploy to publish jar to github qqq-maven-registry. ## + ## Note: despite "/test" in the name, we specify the mvn sub-command w/ the command param. ## + ############################################################################################# - maven/test: name: deploy_to_github executor: java17 command: 'deploy -DskipTests' ## tests were previously ran, so okay to skip them here, settings_file: .circleci/mvn-settings.xml - context: - - Production - requires: - - run_tests + context: qqq-maven-registry-credentials + requires: [ run_tests ] filters: branches: only: circleci-project-setup ## todo - change to main