This repository has been archived by the owner on Feb 9, 2025. It is now read-only.
Update activity data #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update activity data | |
on: | |
schedule: | |
- cron: '10 0 1 * *' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 12.15 | |
- env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
cd data-loaders | |
npm install | |
node activity-fetcher.js | |
- name: Git Commit and Push | |
uses: stefanzweifel/[email protected] | |
with: | |
commit_author: "SEBOpenSource <[email protected]>" | |
commit_message: "chore: updating activity.json" | |
branch: master |