We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b026bec + 26cb3ec commit df96690Copy full SHA for df96690
1 file changed
.github/workflows/deploy-stage.yml
@@ -1,4 +1,4 @@
1
-name: deploy-dev
+name: deploy-stage
2
on:
3
push:
4
branches:
@@ -33,8 +33,15 @@ jobs:
33
env:
34
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
35
ECR_REPOSITORY: civic-tech-jobs-fullstack
36
- IMAGE_TAG: dev
+ IMAGE_TAG: stage
37
run: |
38
docker build -f ./stage/Dockerfile -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
39
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
40
41
+ - name: Redeploy Image in Amazon ECS-Fargate
42
+ id: redeploy-service
43
+ env:
44
+ CLUSTER_NAME: incubator-prod
45
+ SERVICE_NAME: civic-tech-jobs-fs-stage
46
+ run: |
47
+ aws ecs update-service --force-new-deployment --service $SERVICE_NAME --cluster $CLUSTER_NAME
0 commit comments