From 46615ab387f768eb795041ea14adba59a1c2bb60 Mon Sep 17 00:00:00 2001 From: ATEN <43084758+atenxyz@users.noreply.github.com> Date: Fri, 12 Apr 2024 09:53:19 +0800 Subject: [PATCH] Update aws-costs.yml --- .github/workflows/aws-costs.yml | 42 ++++++++++++++++----------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/aws-costs.yml b/.github/workflows/aws-costs.yml index 649f96207854..17619e28c960 100644 --- a/.github/workflows/aws-costs.yml +++ b/.github/workflows/aws-costs.yml @@ -1,21 +1,21 @@ -name: Sends Daily AWS Costs to Slack -on: - # Allow manual Run - workflow_dispatch: - # Run at 7:00 UTC every day - schedule: - - cron: "0 7 * * *" -jobs: - aws_costs: - runs-on: ubuntu-latest - steps: - - name: Get Costs - env: - AWS_KEY: ${{ secrets.COST_AWS_ACCESS_KEY }} - AWS_SECRET: ${{ secrets.COST_AWS_SECRET_KEY }} - AWS_REGION: ${{ secrets.COST_AWS_REGION }} - SLACK_CHANNEL: ${{ secrets.SLACK_COST_CHANNEL }} - SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }} - run: | - npm install -g aws-cost-cli - aws-cost -k $AWS_KEY -s $AWS_SECRET -r $AWS_REGION -S $SLACK_TOKEN -C $SLACK_CHANNEL +# name: Sends Daily AWS Costs to Slack +# on: +# # Allow manual Run +# workflow_dispatch: +# # Run at 7:00 UTC every day +# schedule: +# - cron: "0 7 * * *" +# jobs: +# aws_costs: +# runs-on: ubuntu-latest +# steps: +# - name: Get Costs +# env: +# AWS_KEY: ${{ secrets.COST_AWS_ACCESS_KEY }} +# AWS_SECRET: ${{ secrets.COST_AWS_SECRET_KEY }} +# AWS_REGION: ${{ secrets.COST_AWS_REGION }} +# SLACK_CHANNEL: ${{ secrets.SLACK_COST_CHANNEL }} +# SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }} +# run: | +# npm install -g aws-cost-cli +# aws-cost -k $AWS_KEY -s $AWS_SECRET -r $AWS_REGION -S $SLACK_TOKEN -C $SLACK_CHANNEL