better input and output file handling
This commit is contained in:
parent
78dcc5de06
commit
6fb158edfe
@ -5,8 +5,8 @@
|
||||
#############################################################################
|
||||
#SET THESE VARIABLES OR NOTHING WILL WORK!!!!
|
||||
|
||||
export PipelineClientWorkingDir="D:/tsys/@ReachableCEO/DSR-Pipeline-ReachableCEO/local"
|
||||
export StakeholderOutputMarkdownInputFile="../../StakeholderJoplin/@DailyStakeholderReports/PostedToDiscourse/DSR-12-10-2024.md"
|
||||
export PipelineClientWorkingDir="D:/tsys/ReachableCEOPublic/MarketingMaterials/DSR/local"
|
||||
export StakeholderOutputMarkdownInputFile="$1"
|
||||
|
||||
#############################################################################
|
||||
|
||||
@ -31,8 +31,8 @@ export BUILD_TEMP_DIR="$PipelineClientWorkingDir/build-temp"
|
||||
export BUILD_OUTPUT_DIR="$PipelineClientWorkingDir/build-output"
|
||||
export BUILDYAML_STAKEHOLDER_OUTPUT="$BUILD_TEMP_DIR/DSR.yml"
|
||||
|
||||
export StakeholderOutputMarkdownOutputFile="$BUILD_OUTPUT_DIR/DSR.md"
|
||||
export StakeholderOutputPDFOutputFile="$BUILD_OUTPUT_DIR/DSR.pdf"
|
||||
export StakeholderOutputMarkdownOutputFile="$BUILD_OUTPUT_DIR/$(basename $StakeholderOutputMarkdownInputFile|awk -F '.' '{print $1}').md"
|
||||
export StakeholderOutputPDFOutputFile="$BUILD_OUTPUT_DIR/$(basename $StakeholderOutputMarkdownInputFile|awk -F '.' '{print $1}').pdf"
|
||||
|
||||
###################################################################
|
||||
# Publish variables
|
||||
@ -43,4 +43,4 @@ export BITWARDEN_CREDS="D:/tsys/secrets/bitwarden/data/apikey-bitwarden-reachabl
|
||||
export DISCOURSE_URL="https://community.turnsys.com"
|
||||
export DISCOURSE_API_USERNAME="reachableceo"
|
||||
export DISCOURSE_CATEGORY_ID="61"
|
||||
export DISCOURSE_POST_TITLE="Daily Stakeholder Report"
|
||||
export DISCOURSE_POST_TITLE="Daily Stakeholder Report"
|
||||
|
Loading…
Reference in New Issue
Block a user