Skip to content

Commit 1afbde6

Browse files
Merge pull request #67 from druling/dev
fix build
2 parents 54ae73c + dc04c88 commit 1afbde6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
name: Update ECS Service
5555
runs-on: ubuntu-latest
5656
needs: build-and-push
57-
environment: dev
57+
environment: ${{ github.ref == 'refs/heads/master' && 'prod' || (github.ref == 'refs/heads/dev' && 'dev' || 'staging') }}
5858

5959
permissions:
6060
id-token: write
@@ -79,6 +79,8 @@ jobs:
7979
--cluster $ECS_CLUSTER \
8080
--service $ECS_SERVICE \
8181
--force-new-deployment \
82-
--region $AWS_REGION
82+
--region $AWS_REGION \
83+
--no-cli-pager \
84+
> /dev/null 2>&1
8385
8486
echo "Started Deployment"

0 commit comments

Comments
 (0)