From 183487989fb89c9a2fccea01186cf2e075d37f8c Mon Sep 17 00:00:00 2001 From: masonmenges Date: Wed, 24 Apr 2024 10:35:50 -0600 Subject: [PATCH] figuring out env variable syntax part6 --- .github/workflows/aws_datalake.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/aws_datalake.yaml b/.github/workflows/aws_datalake.yaml index 9ef2966..ebc8527 100644 --- a/.github/workflows/aws_datalake.yaml +++ b/.github/workflows/aws_datalake.yaml @@ -50,7 +50,7 @@ jobs: PREFECT_API_KEY: ${{ secrets.PREFECT_API_KEY }} IMG_REPO: ${{ secrets.ECR_REPO }} WORKSPACE: ${{ github.ref == 'refs/heads/main' && 'se-demos' || 'se-demos-dev' }} - WORK_POOL_NAME: ${{ github.ref == 'refs/heads/main' && "${{ env.PROD_WORKPOOL }}" || "${{ env.DEV_WORKPOOL}}" }} + WORK_POOL_NAME: ${{ github.ref == 'refs/heads/main' && env.PROD_WORKPOOL || env.DEV_WORKPOOL }} SCHEDULES_ACTIVE: ${{ github.ref == 'refs/heads/main' && 'True' || 'False' }} run: | cd $PROJECT_DIRECTORY