Skip to content

Commit

Permalink
figuring out env variable syntax part5
Browse files Browse the repository at this point in the history
  • Loading branch information
masonmenges committed Apr 24, 2024
1 parent 8e0bcab commit b06ff4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/aws_datalake.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
deploy:
name: Deploy ${{ env.PROJECT_NAME }} flows
name: Deploy ${{ vars.PROJECT_NAME }} flows
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b06ff4f

Please sign in to comment.