Skip to content

Commit 3d36e1f

Browse files
committed
meeeeeng
1 parent 5064eaf commit 3d36e1f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/scrape.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,17 @@ jobs:
7777
run: |
7878
echo '${{ secrets.GCP_SA_KEY }}' > sa_key.json
7979
echo "SA_EMAIL=$(jq -r .client_email sa_key.json)" >> $GITHUB_ENV
80-
echo "SA_KEY=$(jq -r .private_key sa_key.json)" >> $GITHUB_ENV
80+
echo "SA_KEY=$(jq -r .private_key sa_key.json | base64 -w 0)" >> $GITHUB_ENV
8181
shell: bash
8282

8383
- name: Upload CSV to Spreadsheet
8484
if: success()
85-
uses: canonical-web-and-design/csv-to-google-spreadsheet@1.0.0
85+
uses: canonical-web-and-design/csv-to-google-spreadsheet@main
8686
with:
8787
csv_path: public/merged.csv
8888
spreadsheet_id: ${{ secrets.GOOGLE_SHEET_ID }}
8989
worksheet: 0
9090
google_service_account_email: ${{ env.SA_EMAIL }}
9191
google_service_account_private_key: ${{ env.SA_KEY }}
92+
env:
93+
PRIVATE_KEY_DECODER: base64 -d

0 commit comments

Comments
 (0)