Skip to content

Commit

Permalink
feat: allow custom task definition path (#37)
Browse files Browse the repository at this point in the history
* feat: allow custom task definition path

* fix: typo
  • Loading branch information
ClintonTSR authored Jun 18, 2024
1 parent 2b1ebd1 commit fd661d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/.ecs-deploy-task-definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ on:
git_sha_short_ecr:
required: true
type: string
task_definition_path:
required: false
type: string
default: "deployment/definition.yml"

jobs:
ecs-update:
Expand Down Expand Up @@ -110,7 +114,7 @@ jobs:
set -e
export env="${{ inputs.deploy_env }}"
export source_path="main/${{ inputs.source_path }}deployment/definition.yml"
export source_path="main/${{ inputs.source_path }}${{ inputs.task_definition_path }}"
export build_version="${{ inputs.git_sha_short }}"
pip3 install -r template/scripts/ecs/requirements.txt
Expand Down

0 comments on commit fd661d7

Please sign in to comment.