From 71b699069fe8150476b67731527c291bb1962c03 Mon Sep 17 00:00:00 2001 From: Mick MacCallum Date: Wed, 24 Jul 2024 21:19:55 -0400 Subject: [PATCH] test --- .circleci/config.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9ff632a..1bbbb91 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,19 +6,15 @@ orbs: jq: circleci/jq@3.0.0 node: circleci/node@5.2.0 -# Define a job to be invoked later in a workflow. -# See: https://circleci.com/docs/jobs-steps/#jobs-overview & https://circleci.com/docs/configuration-reference/#jobs jobs: update-cli-formula: - # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. - # See: https://circleci.com/docs/executor-intro/ & https://circleci.com/docs/configuration-reference/#executor-job docker: - # Specify the version you desire here - # See: https://circleci.com/developer/images/image/cimg/base - image: cimg/base:current + environment: + WEBHOOK_BODY: << pipeline.trigger_parameters.webhook.body >> + # Add steps to the job - # See: https://circleci.com/docs/jobs-steps/#steps-overview & https://circleci.com/docs/configuration-reference/#steps steps: # Checkout the code as the first step. - checkout @@ -31,11 +27,11 @@ jobs: - run: name: Test command: | - echo "<< parameters >>" + echo $WEBHOOK_BODY # Orchestrate jobs using workflows -# See: https://circleci.com/docs/workflows/ & https://circleci.com/docs/configuration-reference/#workflows workflows: update-cli-formula-workflow: + # when: << pipeline.trigger_parameters.webhook >> jobs: - update-cli-formula