diff --git a/.github/workflows/datenraum.yml b/.github/workflows/datenraum.yml index 0900021..c03316a 100644 --- a/.github/workflows/datenraum.yml +++ b/.github/workflows/datenraum.yml @@ -12,8 +12,6 @@ on: jobs: sync_datenraum: runs-on: ubuntu-latest - # strategy: - # fail-fast: false steps: - uses: actions/checkout@v4 @@ -34,6 +32,9 @@ jobs: - name: Download metadata from Serlo Metadata API run: pipenv run python download_metadata.py public/serlo-metadata.json + - name: Validate nodes according to AMB Schema + run: pipenv run python validate_nodes.py + - name: Set credentials for Datenraum run: | echo "DATENRAUM_ENVIRONMENT=demo" >> "$GITHUB_ENV" @@ -43,8 +44,5 @@ jobs: - name: Download metadata from Datenraum run: pipenv run python download_datenraum_nodes.py public/serlo-datenraum.json - - name: Validate nodes according to AMB Schema - run: pipenv run python validate_nodes.py - - name: Sync metadata from Serlo Metadata API to Datenraum run: pipenv run python update_datenraum_nodes.py public/serlo-metadata.json public/serlo-datenraum.json