Skip to content

Build and publish

Build and publish #23

Workflow file for this run

name: Build and publish
on:
workflow_dispatch
jobs:
build_pages:
name: Publish as GitHub Pages Website
runs-on: ubuntu-latest
steps:
- name: Perform Checkout
uses: actions/checkout@v4
- name: Install Saxon, Ant and Fundament
run: |
apt-get update && apt-get install openjdk-11-jre-headless ant -y --no-install-recommend
./shellscripts/script.sh
- name: Install Ant-Contrib
run: |
wget https://repo1.maven.org/maven2/ant-contrib/ant-contrib/1.0b3/ant-contrib-1.0b3.jar
mv ant-contrib-1.0b3.jar /usr/share/ant/lib
- name: Prepare Data
run: |
ant -f ./build.xml
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
publish_dir: ./html