From bddf4f1cbb8d46a29c439c5db54457ea2f85e0ff Mon Sep 17 00:00:00 2001 From: sam Date: Wed, 12 Feb 2025 21:27:18 +0800 Subject: [PATCH] add mega --- .github/workflows/dbt_run_adhoc.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dbt_run_adhoc.yml b/.github/workflows/dbt_run_adhoc.yml index 92873f2..8427432 100644 --- a/.github/workflows/dbt_run_adhoc.yml +++ b/.github/workflows/dbt_run_adhoc.yml @@ -7,7 +7,7 @@ on: - "main" inputs: environment: - type: choice + type: choice description: DBT Run Environment required: true options: @@ -15,19 +15,20 @@ on: - prod default: dev warehouse: - type: choice + type: choice description: Snowflake warehouse - required: true + required: true options: - DBT - DBT_CLOUD - DBT_EMERGENCY + - DBT_MEGA default: DBT dbt_command: type: string - description: 'DBT Run Command' + description: "DBT Run Command" required: true - + env: DBT_PROFILES_DIR: ./ @@ -43,12 +44,10 @@ env: concurrency: group: ${{ github.workflow }} - - jobs: run_dbt_jobs: runs-on: ubuntu-latest - environment: + environment: name: workflow_${{ inputs.environment }} steps: @@ -65,4 +64,4 @@ jobs: dbt deps - name: Run DBT Jobs run: | - ${{ inputs.dbt_command }} \ No newline at end of file + ${{ inputs.dbt_command }}