Merge branch 'main' of https://github.com/mpilhlt/bibliographic-tei #19
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: Generate static html pages to view the gold standard | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
services: | |
saxon: | |
image: klakegg/saxon:he | |
options: --entrypoint /bin/sh | |
steps: | |
- name: Install libxml2-tools | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libxml2-utils | |
- name: Check out source code | |
uses: actions/checkout@v2 | |
- name: Generate training data from gold | |
run: bash .github/workflows/generate-training-data | |
- name: Fix indentation of training data | |
run: bash .github/workflows/fix-indentation | |
- name: Add validation error annotations | |
run: bash .github/workflows/annotate-errors | |
- name: Generate html files to view gold data | |
run: bash .github/workflows/generate-gold-viewer | |
- name: Generate Directory Listings | |
uses: jayanta525/[email protected] | |
with: | |
FOLDER: docs | |
- name: Deploy to GitHub Pages | |
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
run: bash .github/workflows/deploy-to-pages |