From 25602544f40ea2b4aa0c2aff049da7849c966739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominic=20L=C3=A9tourneau?= Date: Tue, 9 Apr 2024 08:30:31 -0400 Subject: [PATCH] Create scheduled-stats.yml --- .github/workflows/scheduled-stats.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/scheduled-stats.yml diff --git a/.github/workflows/scheduled-stats.yml b/.github/workflows/scheduled-stats.yml new file mode 100644 index 00000000..c1fbab62 --- /dev/null +++ b/.github/workflows/scheduled-stats.yml @@ -0,0 +1,16 @@ +name: OpenTera Scheduled Stats Extraction From GitHub + +on: + workflow_dispatch: + schedule: + - cron: '0 5 * * *' +jobs: + get_stats: + runs-on: ubuntu-latest + steps: + - name: Update Stats + uses: introlab/github-stats-action@v1 + with: + github-stats-token: ${{ secrets.STATS_TOKEN }} + google-application-credentials: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }} + spreadsheet-id: ${{ secrets.SPREADSHEET_ID }}