Skip to content

Build & deploy slides site #5

Build & deploy slides site

Build & deploy slides site #5

Workflow file for this run

name: Build & deploy slides site
# Renders every .pptx listed in events.config.json into web slides and deploys
# the docs/ site straight to GitHub Pages. Nothing generated is committed back,
# so local edits never conflict with the bot. Add a .pptx + a config entry and
# push to publish a new event.
on:
push:
branches: [main]
paths:
- "**.pptx"
- "events.config.json"
- "build_site.py"
- "docs/**"
- ".github/workflows/build-pages.yml"
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- name: Install LibreOffice, poppler & Korean fonts
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
libreoffice poppler-utils fonts-noto-cjk fonts-nanum
fc-cache -f >/dev/null 2>&1 || true
- name: Render slides into docs/
run: python3 build_site.py
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: docs
- id: deploy
uses: actions/deploy-pages@v4