From 695784b5b6e1a756a14f5784f9abffef5b9c8ef3 Mon Sep 17 00:00:00 2001 From: Murdo Moyse Date: Thu, 7 Mar 2024 11:56:55 +0000 Subject: [PATCH] Trying to fix debug var --- .github/workflows/deploy-generic.yml | 6 +++--- .github/workflows/test.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-generic.yml b/.github/workflows/deploy-generic.yml index e631f715..3a2290b0 100644 --- a/.github/workflows/deploy-generic.yml +++ b/.github/workflows/deploy-generic.yml @@ -15,10 +15,10 @@ on: description: "ecr region to hold container image" required: true type: string - debug_flag: + debug: description: "flag for django's debug mode" required: true - type: number + type: string django_allowed_hosts: description: "django allowed hosts" required: true @@ -80,7 +80,7 @@ jobs: cat deployments/templates/secrets.yml | envsubst > deployments/secrets.yml env: CATALOGUE_URL: ${{ inputs.CATALOGUE_URL }} - DEBUG: ${{ inputs.DEBUG_FLAG }} + DEBUG: ${{ inputs.DEBUG }} DJANGO_ALLOWED_HOSTS: ${{ inputs.DJANGO_ALLOWED_HOSTS }} SECRET_KEY: ${{ secrets.SECRET_KEY }} CATALOGUE_TOKEN: ${{ secrets.CATALOGUE_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7d61b763..78f7bec2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -90,7 +90,7 @@ jobs: env: "test" ecr_repository: "${{ vars.TEST_ECR_REPOSITORY }}" ecr_region: "${{ vars.TEST_ECR_REGION }}" - debug_flag: 0 + debug: "${{ vars.DEBUG }}" django_allowed_hosts: "${{ vars.DJANGO_ALLOWED_HOSTS }}" catalogue_url: "${{ vars.CATALOGUE_URL }}" secrets: