Skip to content

Commit de825b0

Browse files
Clinton WerthClinton Werth
authored andcommitted
try deployment
1 parent 9ddce71 commit de825b0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/aws-role-test.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ jobs:
3535
echo "IMAGE_TAG=dev" >> $GITHUB_ENV
3636
fi
3737
38-
- name: Check Context
39-
run: ls -la
40-
4138
- name: Build Docker image and push
4239
env:
4340
REGISTRY: ${{ steps.ecr-login.outputs.registry }}
@@ -47,5 +44,8 @@ jobs:
4744
docker build -t $REGISTRY$REPOSITORY:$IMAGE_TAG .
4845
docker push $REGISTRY$REPOSITORY:$IMAGE_TAG
4946
50-
- name: TEST ECS Access
51-
run: aws ecs list-clusters
47+
- name: ReDeploy ECS Service
48+
env:
49+
SERVICE: "mage${{ env.IMAGE_TAG }}"
50+
run: |
51+
aws ecs update-service --cluster magedev --service $SERVICE --force-new-deployment

0 commit comments

Comments
 (0)