Skip to content

Update data

Update data #76

Workflow file for this run

name: Update data
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1,4'
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- uses: actions/cache@v3
with:
path: ${{ github.workspace }}/.next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
- run: npm ci
- run: npm run update-data
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
APP_URL: ${{ secrets.APP_URL }}
TOKEN: ${{ secrets.TOKEN }}