From 5791cac7dc66d69f58aeb20d0fe52798ccad60a8 Mon Sep 17 00:00:00 2001 From: appleboy Date: Sat, 29 Jun 2024 10:07:08 +0800 Subject: [PATCH] ci: optimize CI workflow by commenting out subnet updates - Comment out the step for updating subnets and security groups in the CI workflow Signed-off-by: appleboy --- .github/workflows/ci.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9f2fb6..df773f5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -119,14 +119,15 @@ jobs: function_name: gorush source: example/main.go,example/go.mod,example/go.sum - - name: update subnets and security groups - uses: ./ - with: - aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws_region: ${{ secrets.AWS_REGION }} - function_name: gorush - source: example/main.go,example/go.mod,example/go.sum - subnets: subnet-05905c9e0ffb7e552 - securitygroups: sg-0262ba785ced7600e - debug: true + # Todo: update subnets and security groups + # - name: update subnets and security groups + # uses: ./ + # with: + # aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} + # aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + # aws_region: ${{ secrets.AWS_REGION }} + # function_name: gorush + # source: example/main.go,example/go.mod,example/go.sum + # subnets: subnet-05905c9e0ffb7e552 + # securitygroups: sg-0262ba785ced7600e + # debug: true