From 37dc9525d8411af394be14e6adcb8fc7f8cb9b12 Mon Sep 17 00:00:00 2001 From: mythilytm Date: Wed, 24 Jul 2024 12:28:23 -0400 Subject: [PATCH] remove / replace secrets call --- .github/actions/main-action/action.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/actions/main-action/action.yml b/.github/actions/main-action/action.yml index 1c7cdeca..34ec9101 100644 --- a/.github/actions/main-action/action.yml +++ b/.github/actions/main-action/action.yml @@ -126,6 +126,8 @@ runs: ASELO_APP_SECRET_KEY=${{ inputs.aselo-app-secret-key }} S3_BUCKET=${{ inputs.s3-bucket }} AWS_REGION=${{ inputs.aws-region }} + GOOGLE_SHEETS_CREDENTIALS=${{ secrets.GOOGLE_SHEETS_CREDENTIALS }} + GOOGLE_SHEET_ID=${{ secrets.GOOGLE_SHEET_ID }} TWILIO_SERVERLESS_API_CONCURRENCY=1 EOT shell: bash @@ -199,8 +201,8 @@ runs: - name: Update Google Sheets shell: bash env: - GOOGLE_SHEETS_CREDENTIALS: ${{ secrets.GOOGLE_SHEETS_CREDENTIALS }} - GOOGLE_SHEET_ID: ${{ secrets.GOOGLE_SHEET_ID }} + # GOOGLE_SHEETS_CREDENTIALS: ${{ secrets.GOOGLE_SHEETS_CREDENTIALS }} + # GOOGLE_SHEET_ID: ${{ secrets.GOOGLE_SHEET_ID }} helpline: ${{ inputs.helpline-code }} environments: ${{ inputs.environment-code }} environment: ${{ inputs.environment }} @@ -208,7 +210,7 @@ runs: github_sha: ${{ github.sha }} github_actor: ${{ github.triggering_actor }} github_branch: ${{ github.ref_name }} - aws_region: ${{ secrets.AWS_DEFAULT_REGION }} + # aws_region: ${{ secrets.AWS_DEFAULT_REGION }} run: | echo "${GOOGLE_SHEETS_CREDENTIALS}" > credentials.json python update_matrix \ No newline at end of file