Fix initial data workflow

This commit is contained in:
Joshua Sangmeister 2021-10-04 15:18:29 +02:00
parent 0e95e7f7e0
commit 72d5ee06d3
1 changed files with 3 additions and 0 deletions

View File

@ -131,5 +131,8 @@ jobs:
- name: Export migrated data from the datastore
run: "curl --header 'Content-Type: application/json' -d '{}' http://localhost:9010/internal/datastore/reader/get_everything 2> /dev/null | python3 dev-commands/strip-meta-fields.py > export.json"
- name: generate models.py for next step
run: python openslides-backend/cli/generate_models.py docs/models.yml
- name: Validate exported initial-data.json
run: python openslides-backend/cli/check_json.py --partial export.json