ARCHE-Ingest-Binaries #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ARCHE-Ingest-Binaries | |
on: | |
workflow_dispatch | |
jobs: | |
build_pages: | |
name: Ingest Data into ARCHE | |
runs-on: ubuntu-latest | |
env: | |
ARCHE_USER: pandorfer | |
ARCHE_PASSWORD: ${{secrets.ARCHE_PASSWORD}} | |
ARCHE: https://arche.acdh.oeaw.ac.at/api | |
TOPCOLID: https://id.acdh.oeaw.ac.at/schnitzler/schnitzler-briefe | |
steps: | |
- name: Perform Checkout | |
uses: actions/checkout@v4 | |
- name: install python things | |
run: pip install -r requirements.txt | |
- name: Fetch the data | |
run: ./fetch_data.sh | |
- name: check and delete faulty files | |
run: python delete_faulty_files.py | |
- name: add mentions | |
run: python add_mentions.py | |
- name: create arche metadata | |
run: python arche/make_metadata.py | |
- name: run metadata import | |
run: ./arche/arche__ingest_binaries.sh | |