Skip to content

Commit

Permalink
Trying to fix debug var
Browse files Browse the repository at this point in the history
  • Loading branch information
murdo-moj committed Mar 7, 2024
1 parent 33fe64f commit 695784b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-generic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 695784b

Please sign in to comment.