Skip to content

Commit

Permalink
Update deployment.yml (#274)
Browse files Browse the repository at this point in the history
Changing enabled parameter to be populated from the environmental variable as opposed to hardcoded FALSE
  • Loading branch information
juddin927 authored Jul 1, 2024
1 parent dbd43ad commit cb3c5be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
uses: ./.github/workflows/deployment_reusable_workflow.yml
with:
ENV: development
ENABLED: false
ENABLED: ${{ github.development.enabled }}
secrets: inherit

deploy-pre-production:
needs: [deploy-development]
uses: ./.github/workflows/deployment_reusable_workflow.yml
with:
ENV: pre-production
ENABLED: false
ENABLED: ${{ github.pre-production.enabled }}
secrets: inherit

# destroy-development:
Expand Down

0 comments on commit cb3c5be

Please sign in to comment.