Skip to content

github action take 3 #3

github action take 3

github action take 3 #3

Workflow file for this run

name: Publish TEI Council Documentation
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
with:
ref: gh-pages
- name: Install libxml2-utils
run: sudo apt-get update && sudo apt-get install libxml2-utils xsltproc
- name: transform XML
run: bash bin/publish.sh
- name: Commit and push if it changed
run: |-
git config user.name "Automated"
git config user.email "actions@users.noreply.github.com"
git add -A
timestamp=$(date -u)
git commit -m "Latest data: ${timestamp}" || exit 0
git push