try quote button js
Some checks failed
Build and publish CMBA rulebooks (Gitea) / build-release (push) Failing after 11s

This commit is contained in:
Tony
2026-01-14 14:45:55 -06:00
parent bbca3b724e
commit e655b12300
2 changed files with 195 additions and 0 deletions

View File

@@ -24,6 +24,18 @@ jobs:
sudo apt-get install -y pandoc \
jq \
curl
- name: Build pandoc after-body include (inline quote.js)
shell: bash
run: |
mkdir -p build
{
echo '<script>'
cat quote.js
echo '</script>'
echo '<style>'
echo '.quote-btn{margin-left:.5rem;font-size:.8em;vertical-align:middle;}'
echo '</style>'
} > build/after-body.html
- name: Build artifacts
run: |
@@ -41,6 +53,7 @@ jobs:
--metadata-file src/metadata.yml \
--embed-resources \
--metadata title="CMBA ${doc}" \
--include-after-body=build/after-body.html \
--css src/style.css \
-o "dist/${doc}.html"