diff --git a/build/build-stakeholder-output-server.sh b/build/build-stakeholder-output-server.sh index 0f7a7c6..26cab06 100644 --- a/build/build-stakeholder-output-server.sh +++ b/build/build-stakeholder-output-server.sh @@ -7,10 +7,16 @@ $MO_PATH $YamlInputTemplateFileStakeholderOutput > $BUILDYAML_STAKEHOLDER_OUTPUT echo "Creating stakeholder report..." +export StakeholderOutputMarkdownInputFile="../../StakeholderJoplin/@DailyStakeholderReports/PostedToDiscourse/DSR-12-10-2024.md" + +cd "$(dirname $StakeholderOutputMarkdownInputFile)" + pandoc \ "$StakeholderOutputMarkdownOutputFile" \ --template $PANDOC_TEMPLATE \ --metadata-file="$BUILDYAML_STAKEHOLDER_OUTPUT" \ --from markdown \ --to=pdf \ ---output $StakeholderOutputPDFOutputFile \ No newline at end of file +--output $StakeholderOutputPDFOutputFile + +cd - \ No newline at end of file