Skip to content

chore(deps): update pandoc/core docker tag to v3.7.0.2 #11

chore(deps): update pandoc/core docker tag to v3.7.0.2

chore(deps): update pandoc/core docker tag to v3.7.0.2 #11

Workflow file for this run

name: Test HTML
on:
pull_request:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Generate index.html
uses: docker://pandoc/core:3.7.0.2@sha256:a115371a3f4b3f93233ef894f31eb8c4235fbcee60c64846f1a61c1c970d338c
with:
args: >-
--standalone --template=template.html --output=index.html README.md
- name: Validate title tag
run: |
count=$(grep -o '<title>' index.html | wc -l)
if [ "$count" -ne 1 ]; then
echo "Expected exactly one <title> tag, found $count"
exit 1
fi