Skip to content

Commit

Permalink
Add secret management for service account credentials in report.yaml …
Browse files Browse the repository at this point in the history
…workflow
  • Loading branch information
endersonmenezes committed Apr 3, 2024
1 parent 5c1e59b commit 4c3274e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
- name: Poetry install
run: poetry install --no-dev --no-root

- name: "🤫 Secret"
run: |
echo ${SERVICE_ACCOUNT_CREDENTIALS} > service_account.json
- name: Run report
run: |
poetry run python main.py ${{secrets.PROPERTY_ID}} $(bash calculate_dates.sh ${{ github.event.inputs.month }})
Expand Down

0 comments on commit 4c3274e

Please sign in to comment.