From ce3959abab39529bbb9cbac3ab60f61331f2a575 Mon Sep 17 00:00:00 2001 From: "kahu.anderson@auckland.ac.nz" Date: Mon, 13 Nov 2023 10:24:09 +1300 Subject: [PATCH] basic JSM workflow test --- .github/workflows/jsm-deploy.yml | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/jsm-deploy.yml diff --git a/.github/workflows/jsm-deploy.yml b/.github/workflows/jsm-deploy.yml new file mode 100644 index 0000000..99d8763 --- /dev/null +++ b/.github/workflows/jsm-deploy.yml @@ -0,0 +1,35 @@ +name: JSM-Deploy + +on: + workflow_dispatch: + inputs: + logLevel: + description: 'Log level' + required: true + default: 'warning' + type: choice + options: + - info + - warning + - debug + tags: + description: 'Test scenario tags' + required: false + type: boolean + environment: + description: 'Environment to run tests against' + type: environment + required: true + +jobs: + log-the-inputs: + runs-on: ubuntu-latest + steps: + - run: | + echo "Log level: $LEVEL" + echo "Tags: $TAGS" + echo "Environment: $ENVIRONMENT" + env: + LEVEL: ${{ inputs.logLevel }} + TAGS: ${{ inputs.tags }} + ENVIRONMENT: ${{ inputs.environment }} \ No newline at end of file