Skip to content

Commit 7bb227e

Browse files
committed
Merge workflows to one with two jobs
1 parent d63dbfb commit 7bb227e

File tree

2 files changed

+17
-26
lines changed

2 files changed

+17
-26
lines changed

.github/workflows/example.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,20 @@ jobs:
1818
- uses: actions/upload-artifact@v2
1919
with:
2020
name: exports
21-
path: '*.csv'
21+
path: '*.csv'
22+
sheet-test:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v1
26+
- uses: ./.
27+
with:
28+
netlify-token: ${{ secrets.NETLIFY_TOKEN }}
29+
netlify-site-id: ${{ secrets.NETLIFY_SITE }}
30+
- uses: canonical-web-and-design/csv-to-google-spreadsheet@master
31+
with:
32+
csv_path: pageviews.csv
33+
spreadsheet_id: ${{ secrets.google_spreadsheet_id }}
34+
worksheet: 0
35+
append_content: true
36+
google_service_account_email: ${{ secrets.google_service_account_email }}
37+
google_service_account_private_key: ${{ secrets.google_service_account_private_key }}

.github/workflows/sheet.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)