Skip to content

Update Data

Update Data #1827

Workflow file for this run

name: Update Data
on:
schedule:
- cron: '0 1 * * *'
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 'latest'
- run: npm install
- run: |
node sync.js
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -m "update" -a
- name: push data
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}