DSR-Pipeline-ReachableCEO/build/build-stakeholder-output-server.sh
Charles N Wyble 434758695a Squashed 'vendor/git.knownelement.com/reachableceo/DSR-Pipeline-Server/' content from commit 284d9ba
git-subtree-dir: vendor/git.knownelement.com/reachableceo/DSR-Pipeline-Server
git-subtree-split: 284d9ba86e6d0ae4c7c1087556702ba262f57971
2024-12-15 10:26:29 -06:00

16 lines
457 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..."
pandoc \
"$StakeholderOutputMarkdownOutputFile" \
--template $PANDOC_TEMPLATE \
--metadata-file="$BUILDYAML_STAKEHOLDER_OUTPUT" \
--from markdown \
--to=pdf \
--output $StakeholderOutputPDFOutputFile