diff --git a/.github/workflows/sync_checks.yml b/.github/workflows/sync_checks.yml index ec274b2..6b1bb3f 100644 --- a/.github/workflows/sync_checks.yml +++ b/.github/workflows/sync_checks.yml @@ -44,7 +44,9 @@ jobs: cd temp-openjs-dashboard npm install npm run db:migrate - psql -U openjs -d dashboard -c "\copy (SELECT json_agg(t) FROM compliance_checks t) TO '../data/checks.json'" + npm run db:export-checks + mkdir -p output + cp output/checks.json ../data/checks.json cd .. rm -rf temp-openjs-dashboard env: