Skip to content

Add workflow for deploying HTML #3

Add workflow for deploying HTML

Add workflow for deploying HTML #3

Workflow file for this run

name: Build
on:
push:
branches:
- main
jobs:
html:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Install pandoc
run: sudo apt-get install -y pandoc
- name: Compile HTML with make/pandoc
run: make build
- name: Configure git user
run: |
git config --global user.name 'OTP Bot'
git config --global user.email '[email protected]'
- name: Push latest HTML
run: |
git add *.html
git commit -m "Add compiled HTML"
git push