From cebe430f6176b3b2f84d2becdb3e4845a120a60c Mon Sep 17 00:00:00 2001 From: erwan-joly Date: Fri, 11 Sep 2026 01:18:15 +1200 Subject: [PATCH] chore: remove the dead ECS deploy The deploy targeted ECS cluster discordbot-cluster, which does not exist in any region of the account. The steps could never succeed, so the AWS credentials they consumed were liability with no upside. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/dotnet.yml | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 66d6ede..d875cdc 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -22,37 +22,3 @@ jobs: dotnet restore dotnet build dotnet test tests/NosCoreBot.Tests -v m - - - name: Configure AWS Credentials - if: github.ref == 'refs/heads/master' - uses: aws-actions/configure-aws-credentials@7474bc4690e29a8392af63c5b98e7449536d5c3a # v4 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: us-west-2 - - - name: Login to Amazon ECR - if: github.ref == 'refs/heads/master' - id: login-ecr - uses: aws-actions/amazon-ecr-login@03f1aad4c6c7ffd436567f42f9384779290529bd # v2 - - - name: Build, tag, and push image to Amazon ECR - if: github.ref == 'refs/heads/master' - id: build-image - env: - ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} - ECR_REPOSITORY: noscorebot - IMAGE_TAG: latest - - run: | - docker build -f ./src/NosCoreBot/dockerfile -t noscorebot:$IMAGE_TAG . - docker tag noscorebot:$IMAGE_TAG $ECR_REGISTRY/noscorebot:$IMAGE_TAG - docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG - - - name: Deploy to Amazon ECS - if: github.ref == 'refs/heads/master' - uses: donaldpiret/ecs-deploy@b4c35d42b679ca60f35fa383cfbd71bcc9248a06 # master 2026-08 (v0.3.0 + dep CVE bumps) - with: - cluster: discordbot-cluster - target: noscorebot - tag: latest