Skip to content

Download latest cards.json, create json for each lang, and commit #961

Download latest cards.json, create json for each lang, and commit

Download latest cards.json, create json for each lang, and commit #961

Workflow file for this run

name: Download latest cards.json, create json for each lang, and commit
on:
schedule:
- cron: '30 6 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Install Dependencies (using package-lock.json)
run: npm ci
- name: Download latest cards.json (If-Modified-Since) and create json for each lang
run: npm run build-compileifneeded
- uses: stefanzweifel/git-auto-commit-action@v5
id: commit
- name: Repository Dispatch
if: steps.commit.outputs.changes_detected == 'true'
uses: peter-evans/repository-dispatch@v3
with:
event-type: deploy-static-pages