Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
vladupshot committed Jan 9, 2024
1 parent 9097197 commit fa83b6b
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/deploy_aws_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,18 @@ jobs:
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "image=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG" >> "$GITHUB_OUTPUT"
- name: Fill in the new image ID in the Amazon ECS task definition
id: compute-node-task-def
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: infra/staging-task-def.json
container-name: upshot-compute-node
image: ${{ steps.compute-node-build-image.outputs.image }}

- name: upshot-compute-node - Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.compute-node-task-def.outputs.task-definition }}
service: upshot-compute-node
cluster: upshot-backend-staging
# wait-for-service-stability: true
# - name: Fill in the new image ID in the Amazon ECS task definition
# id: compute-node-task-def
# uses: aws-actions/amazon-ecs-render-task-definition@v1
# with:
# task-definition: infra/staging-task-def.json
# container-name: upshot-compute-node
# image: ${{ steps.compute-node-build-image.outputs.image }}

# - name: upshot-compute-node - Deploy Amazon ECS task definition
# uses: aws-actions/amazon-ecs-deploy-task-definition@v1
# with:
# task-definition: ${{ steps.compute-node-task-def.outputs.task-definition }}
# service: upshot-compute-node
# cluster: upshot-backend-staging
# # wait-for-service-stability: true

0 comments on commit fa83b6b

Please sign in to comment.