Skip to content

Commit

Permalink
changed workflow to work with dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabefire committed Aug 1, 2024
1 parent 77b0c18 commit 4827404
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/aws.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ name: Deploy to Amazon ECS

on:
workflow_dispatch:
push:
branches: ["main"]

permissions:
id-token: write
Expand Down Expand Up @@ -89,11 +87,3 @@ jobs:
task-definition: ${{ env.ECS_TASK_DEFINITION }}
container-name: ${{ env.CONTAINER_NAME }}
image: ${{ steps.build-image.outputs.image }}

- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: ${{ env.ECS_SERVICE }}
cluster: ${{ env.ECS_CLUSTER }}
wait-for-service-stability: true
2 changes: 0 additions & 2 deletions .github/workflows/mono.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Deploy to MonoRepo to Lambda

on:
workflow_dispatch:
push:
branches: ["main"]

permissions:
id-token: write
Expand Down

0 comments on commit 4827404

Please sign in to comment.