Skip to content

Commit

Permalink
Update workflow env options
Browse files Browse the repository at this point in the history
  • Loading branch information
sshrihar committed May 10, 2024
1 parent e89fcf2 commit 61d1c76
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
fi
deploy:
uses: 0xPolygon/pipelines/.github/workflows/ecs_deploy_docker_taskdef.yaml@main
needs: set-env-variable
with:
app_name: ${{ needs.set-env-variable.outputs.APP_NAME }}
taskdef_file_vars: .github/taskdef/${{ inputs.environment }}-taskdef.yaml
aws_region: eu-west-1
environment: ${{ inputs.environment }}
cluster_name: ${{ needs.set-env-variable.outputs.CLUSTER_NAME }}
account_number: "${{ needs.set-env-variable.outputs.ACCOUNT_NUMBER }}"
secrets: inherit
uses: 0xPolygon/pipelines/.github/workflows/ecs_deploy_docker_taskdef.yaml@main
needs: set-env-variable
with:
app_name: ${{ needs.set-env-variable.outputs.APP_NAME }}
taskdef_file_vars: .github/taskdef/${{ inputs.environment }}-taskdef.yaml
aws_region: eu-west-1
environment: ${{ inputs.environment }}
cluster_name: ${{ needs.set-env-variable.outputs.CLUSTER_NAME }}
account_number: "${{ needs.set-env-variable.outputs.ACCOUNT_NUMBER }}"
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
type: choice
description: "Select the environment to deploy to (optional for pushes)"
options:
- staging
- prod

jobs:
Expand Down

0 comments on commit 61d1c76

Please sign in to comment.