Skip to content

Commit 8226f25

Browse files
committed
Try out google sheet importer
1 parent 357c4b5 commit 8226f25

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/sheet.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Test run
2+
3+
on:
4+
schedule:
5+
- cron: '0 12 * * *'
6+
workflow_dispatch:
7+
8+
9+
jobs:
10+
sheet-test:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v1
14+
- uses: ./.
15+
with:
16+
netlify-token: ${{ secrets.NETLIFY_TOKEN }}
17+
netlify-site-id: ${{ secrets.NETLIFY_SITE }}
18+
- uses: canonical-web-and-design/csv-to-google-spreadsheet
19+
with:
20+
csv_path: pageviews.csv
21+
spreadsheet_id: ${{ secrets.google_spreadsheet_id }}
22+
worksheet: 0
23+
append_content: true
24+
google_service_account_email: ${{ secrets.google_service_account_email }}
25+
google_service_account_private_key: ${{ secrets.google_service_account_private_key }}

0 commit comments

Comments
 (0)