Skip to content

Record data

Record data #20

Workflow file for this run

name: Record data
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
generate-reports:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Dependencies
run: npm install
- name: Generate reports and charts
run: npm run start
- name: Commit and push changes
run: |
git config --global user.name "github-actions"
git config --global user.email "github-actions@github.com"
git add .
git commit -m "[auto]: update reports"
git push origin main