fix: build full ToC for web version
Some checks are pending
Build and Deploy / build (push) Waiting to run
Build and Deploy / deploy (push) Blocked by required conditions

This commit is contained in:
Leon Schwarzäugl 2025-12-31 12:42:10 +01:00
parent 7dd4bd24ea
commit d13c7057ab
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 23 additions and 15 deletions

View file

@ -3,8 +3,8 @@ name: Build and Deploy
on:
push:
branches:
- feat/router # or master, depending on your default branch
workflow_dispatch: # allows manual trigger
- feat/router
workflow_dispatch:
permissions:
contents: read
@ -27,22 +27,16 @@ jobs:
sudo apt-get update
sudo apt-get install -y emacs-nox elpa-htmlize
- name: Tangle Org files
run: |
emacs --batch \
--eval "(require 'org)" \
--eval "(setq org-confirm-babel-evaluate nil)" \
--visit=SwarselSystems.org \
--funcall org-babel-tangle
- name: Export Org to HTML
- name: Tangle files & export to HTML
run: |
emacs --batch \
--eval "(require 'org)" \
--eval "(setq org-confirm-babel-evaluate nil
org-html-validation-link nil
org-export-headline-levels 6
org-export-with-broken-links 'mark)" \
--visit=SwarselSystems.org \
--funcall org-babel-tangle
--funcall org-html-export-to-html
- name: Setup Pages