diff --git a/.github/workflows/ecs_terraform.yaml b/.github/workflows/ecs_terraform.yaml index 69801f3..b41a523 100644 --- a/.github/workflows/ecs_terraform.yaml +++ b/.github/workflows/ecs_terraform.yaml @@ -1,20 +1,21 @@ name: "Terraform CICD - AWS ECS Instance" -# Automation for AWS ECS Instance using Terraform is PAUSED. Use/Create manual deployment for now. +# Github workflow triggers based on changes made in specific paths on: - # pull_request: - # branches: [main] - # paths: - # - 'infra/ecs/**' - # - 'infra/envs/**' - # - '.github/workflows/ecs_terraform.yaml' - # push: - # branches: [main] - # paths: - # - 'infra/ecs/**' - # - 'infra/envs/**' - # - '.github/workflows/ecs_terraform.yaml' - workflow_dispatch: {} # Enable manual trigger for the workflow, but still need to configure the trigger in the GitHub UI. Manual deployment hasn't been implemented yet. + pull_request: + branches: [main] + paths: + - 'infra/ecs/**' + - 'infra/envs/**' + - '.github/workflows/ecs_terraform.yaml' + push: + branches: [main] + paths: + - 'infra/ecs/**' + - 'infra/envs/**' + # - '.github/workflows/ecs_terraform.yaml' + # Uncomment below to allow manual execution from GitHub UI + # workflow_dispatch: permissions: contents: read