Skip to content

Commit 246f0e6

Browse files
authored
Create scheduled-stats.yml
1 parent 5f51ee1 commit 246f0e6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: OpenTeraPlus Scheduled Stats Extraction From GitHub
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 5 * * *'
7+
jobs:
8+
get_stats:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Update Stats
12+
uses: introlab/github-stats-action@v1
13+
with:
14+
github-stats-token: ${{ secrets.STATS_TOKEN }}
15+
google-application-credentials: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}
16+
spreadsheet-id: ${{ secrets.SPREADSHEET_ID }}

0 commit comments

Comments
 (0)