Skip to content

Commit

Permalink
ci: optimize CI workflow by commenting out subnet updates
Browse files Browse the repository at this point in the history
- Comment out the step for updating subnets and security groups in the CI workflow

Signed-off-by: appleboy <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Jun 29, 2024
1 parent 9149a04 commit 5791cac
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5791cac

Please sign in to comment.