Files
DSR-Pipeline-ReachableCEO/build/build-stakeholder-output-server.sh
Charles N Wyble b8b7bcb594 Squashed 'vendor/git.knownelement.com/reachableceo/DSR-Pipeline-Server/' changes from ca6f700..be2f756
be2f756 removed some debugging bits

git-subtree-dir: vendor/git.knownelement.com/reachableceo/DSR-Pipeline-Server
git-subtree-split: be2f75604843d2ea78cb895cc63388ea42f7789a
2024-12-16 12:53:17 -06:00

20 lines
516 B
Bash

#!/bin/bash
set -euo pipefail
# Expand variables into rendered YAML files. These will be used by pandoc to format the output artifacts
$MO_PATH $YamlInputTemplateFileStakeholderOutput > $BUILDYAML_STAKEHOLDER_OUTPUT
echo "Creating stakeholder report..."
cd "$(dirname $StakeholderOutputMarkdownInputFile)"
pandoc \
"$StakeholderOutputMarkdownOutputFile" \
--template $PANDOC_TEMPLATE \
--metadata-file="$BUILDYAML_STAKEHOLDER_OUTPUT" \
--from markdown \
--to=pdf \
--output $StakeholderOutputPDFOutputFile
cd -