Skip to content

Commit

Permalink
Update secret management for service account credentials in report.ya…
Browse files Browse the repository at this point in the history
…ml workflow
  • Loading branch information
endersonmenezes committed Apr 3, 2024
1 parent 4c3274e commit 75be407
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,13 @@ jobs:
- name: "🤫 Secret"
run: |
echo ${SERVICE_ACCOUNT_CREDENTIALS} > service_account.json
env:
SERVICE_ACCOUNT_CREDENTIALS: ${{ secrets.SERVICE_ACCOUNT_CREDENTIALS }}

- name: Run report
run: |
poetry run python main.py ${{secrets.PROPERTY_ID}} $(bash calculate_dates.sh ${{ github.event.inputs.month }})
env:
SERVICE_ACCOUNT_CREDENTIALS: ${{ secrets.SERVICE_ACCOUNT_CREDENTIALS }}
PROPERTY_ID: ${{ secrets.PROPERTY_ID }}

- name: Commit and push changes
Expand Down

0 comments on commit 75be407

Please sign in to comment.