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 }}