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: