File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -73,21 +73,12 @@ jobs:
73
73
git commit -m "[skip ci] Updated job data" || echo "No changes to commit"
74
74
git push
75
75
76
- - name : Extract Service Account Info
77
- run : |
78
- echo '${{ secrets.GCP_SA_KEY }}' > sa_key.json
79
- echo "SA_EMAIL=$(jq -r .client_email sa_key.json)" >> $GITHUB_ENV
80
- echo "SA_KEY=$(jq -r .private_key sa_key.json | base64 -w 0)" >> $GITHUB_ENV
81
- shell : bash
82
-
83
76
- name : Upload CSV to Spreadsheet
84
77
if : success()
85
78
uses : canonical-web-and-design/csv-to-google-spreadsheet@1.0.0
86
79
with :
87
80
csv_path : public/merged.csv
88
81
spreadsheet_id : ${{ secrets.GOOGLE_SHEET_ID }}
89
82
worksheet : 0
90
- google_service_account_email : ${{ env.SA_EMAIL }}
91
- google_service_account_private_key : ${{ env.SA_KEY }}
92
- env :
93
- PRIVATE_KEY_DECODER : base64 -d
83
+ google_service_account_email : ${{ secrets.GOOGLE_SERVICE_ACCOUNT_EMAIL }}
84
+ google_service_account_private_key : ${{ secrets.google_service_account_private_key }}
You can’t perform that action at this time.
0 commit comments