Skip to content

Commit ce8447f

Browse files
Move "deploy_application.yml" logic directly into "deploy.yml" workflow
- The deploy now only deploys the application so there is no need to have application deploy as a separate workflow
1 parent 87248ce commit ce8447f

3 files changed

Lines changed: 305 additions & 425 deletions

File tree

.github/workflows/build-and-push-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Configure AWS Dev Credentials
4040
uses: aws-actions/configure-aws-credentials@v5
4141
with:
42-
role-to-assume: arn:aws:iam::393416225559:role/GithubDeployMavisAndInfrastructure
42+
role-to-assume: arn:aws:iam::393416225559:role/GithubDeployECSService
4343
aws-region: eu-west-2
4444
- name: Check if dev image exists
4545
id: check-dev-image
@@ -54,7 +54,7 @@ jobs:
5454
if: env.PUSH_IMAGE_TO_PRODUCTION == 'true'
5555
uses: aws-actions/configure-aws-credentials@v5
5656
with:
57-
role-to-assume: arn:aws:iam::820242920762:role/GithubDeployMavisAndInfrastructure
57+
role-to-assume: arn:aws:iam::820242920762:role/GithubDeployECSService
5858
aws-region: eu-west-2
5959
- name: Check if production image exists
6060
if: env.PUSH_IMAGE_TO_PRODUCTION == 'true'

0 commit comments

Comments
 (0)