Skip to content

Build and publish

Build and publish #17

Workflow file for this run

name: Build and publish
on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
build_pages:
name: Publish Transcription Status
runs-on: ubuntu-latest
env:
ANT_OPTS: -Xmx6g
TYPESENSE_HOST: typesense.acdh-dev.oeaw.ac.at
TYPESENSE_PORT: 443
TYPESENSE_PROTOCOL: https
TYPESENSE_API_KEY: ${{secrets.TYPESENSE_API_KEY}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- run: pip install -r requirements.txt
- name: Build the Website
run: ./build.sh
- name: Commit data
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Data update
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
publish_dir: ./html