Skip to content

Commit

Permalink
Update test-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
markusweigelt authored Dec 14, 2023
1 parent c817adc commit 8e512ce
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,14 @@ jobs:
# Generate ssh keys
mkdir -p ./ocrd/manager/.ssh
ssh-keygen -t rsa -q -f $MANAGER_KEY -P '' -C 'OCR-D manager key'
# Create empty authorized_keys file
touch ./ocrd/manager/.ssh/authorized_keys
# Create controller directories
mkdir -p ./ocrd/controller/.ssh/ ./ocrd/controller/models
# Download .env.example from master branch of OCR-D Controller repository
wget -O .env.ocrd-controller https://raw.githubusercontent.com/slub/ocrd_controller/master/.env.example
# Remove carriage returns in file
Expand All @@ -46,7 +52,7 @@ jobs:
# Add public key of OCR-D Manager
cp ${MANAGER_KEY}.pub ${CONTROLLER_KEYS}
# Add model
# Download controller model
wget -P ${CONTROLLER_MODELS} https://ub-backup.bib.uni-mannheim.de/~stweil/tesstrain/frak2021/tessdata_best/frak2021-0.905.traineddata
- name: Build
Expand Down

0 comments on commit 8e512ce

Please sign in to comment.