From 3bbac23e1d64e44fff63aec865905a8a8416154d Mon Sep 17 00:00:00 2001 From: Charles N Wyble Date: Wed, 18 Dec 2024 08:52:28 -0600 Subject: [PATCH] Squashed 'vendor/git.knownelement.com/reachableceo/ConsultantProfile-Pipeline-Server/' changes from 0c25dd1..bbcfd90 bbcfd90 . git-subtree-dir: vendor/git.knownelement.com/reachableceo/ConsultantProfile-Pipeline-Server git-subtree-split: bbcfd901801345c73322ae0a20bc049d2357771b --- build/build-pipeline-server-markdown.sh | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/build/build-pipeline-server-markdown.sh b/build/build-pipeline-server-markdown.sh index 122984a..c69c271 100644 --- a/build/build-pipeline-server-markdown.sh +++ b/build/build-pipeline-server-markdown.sh @@ -12,10 +12,9 @@ set -euo pipefail # Expand variables into rendered YAML files. These will be used by pandoc to create the output artifacts +echo "Creating consultant info sheet..." + $MO_PATH $YamlInputTemplateFileConsultantInfoSheet > $BUILDYAML_CONSULTANT_INFOSHEET - -echo "Creating candidate info sheet..." - $MO_PATH $PipelineClientWorkingDir/Templates/ConsultantInfoSheet.md > "$ConsultantInfoSheetMarkdownOutputFile" pandoc \ @@ -30,4 +29,14 @@ pandoc \ # Create the consultant profile PDF ############################################# -# Coming later +echo "Creating consultant profile..." + +$MO_PATH $YamlInputTemplateFileConsultantProfile > $BUILDYAML_CONSULTANT_PROFILE + +pandoc \ +"$ConsultantProfileMarkdownOutputFile" \ +--template $PANDOC_TEMPLATE \ +--metadata-file="$BUILDYAML_CONSULTANT_PROFILE" \ +--from markdown \ +--to=pdf \ +--output $ConsultantProfilePDFOutputFile \ No newline at end of file