Skip to content

[FX] add diplomatic transcript at D-BNba_MH_60_Engelmann_p005_wz03_dt… #259

[FX] add diplomatic transcript at D-BNba_MH_60_Engelmann_p005_wz03_dt…

[FX] add diplomatic transcript at D-BNba_MH_60_Engelmann_p005_wz03_dt… #259

# documentation awaits instantiation
name: Generate and cache diplomatic, annotated, and fluid transcriptions
on:
push:
branches:
- 'dev'
paths:
- 'data/sources/**/annotatedTranscripts/**/*.xml'
- 'data/sources/**/diplomaticTranscripts/**/*.xml'
workflow_dispatch:
jobs:
build:
name: Generate Cache files
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: ensure cache
run: mkdir -p cache
- name: run Docker image
run: docker run --rm -v $(pwd)/data:/usr/src/app/data -v $(pwd)/cache:/usr/src/app/cache ghcr.io/beethovenswerkstatt/liquifier:latest node index.js
# check repo status before push to avoid overlapping commits
- name: configure git
run: |
echo "Configuring git..."
git config user.name "github-actions"
git config user.email "[email protected]"
- name: Commit
run: |
git add .
git commit -m "generate and cache transcriptions for @${{ github.sha }}"
git push