Skip to content

min earth_quake

min earth_quake #21

Workflow file for this run

name: Data Sync
on:
schedule:
- cron: '0 1 * * *'
push:
branches:
- main
jobs:
sync:
name: Sync
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: true
- name: Check Data
run: pnpm check
- name: Get Data
run: pnpm dev
env: # Or as an environment variable
APPTOKEN: ${{ secrets.APPTOKEN }}
PERSONALBASETOKEN: ${{ secrets.PERSONALBASETOKEN }}
TABLE_ID: ${{ secrets.TABLE_ID }}
- name: Update all data
uses: EndBug/add-and-commit@v9
with:
message: 'chore: update all data'
add: data