changed to be uniform with main build pipeline design pattern
This commit is contained in:
parent
7715928bae
commit
d4899ee823
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
dsrtemp/
|
dsr-build-temp/
|
||||||
|
dsr-build-output/
|
@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
TODAY_DATE=$(date +%m-%d-%Y)
|
TODAY_DATE=$(date +%m-%d-%Y)
|
||||||
INPUT_FILE="../dsrtemp/@DailyStakeholderReports/Today/DSR-$TODAY_DATE.md"
|
INPUT_FILE="../dsr-build-temp/@DailyStakeholderReports/Today/DSR-$TODAY_DATE.md"
|
||||||
OUTPUT_FILE="../dsrtemp/DSR-$TODAY_DATE.pdf"
|
OUTPUT_FILE="../dsr-build-output/DSR-$TODAY_DATE.pdf"
|
||||||
METADATA_FILE="daily-stakeholder-report.yml"
|
METADATA_FILE="daily-stakeholder-report.yml"
|
||||||
TEMPLATE="eisvogel"
|
TEMPLATE="eisvogel"
|
||||||
|
|
||||||
|
@ -40,7 +40,8 @@ post_dsr()
|
|||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
TODAY_DATE=$(date +%m-%d-%Y)
|
#TODAY_DATE=$(date +%m-%d-%Y)
|
||||||
|
TODAY_DATE="12-09-2024"
|
||||||
|
|
||||||
echo "Posting DSR..."
|
echo "Posting DSR..."
|
||||||
|
|
||||||
@ -58,7 +59,7 @@ TITLE="Daily Stakeholder Report - $TODAY_DATE"
|
|||||||
CONTENT="Please use the link below to download today's stakeholder report."
|
CONTENT="Please use the link below to download today's stakeholder report."
|
||||||
|
|
||||||
# The file to upload (from the second argument or auto-generated based on date)
|
# The file to upload (from the second argument or auto-generated based on date)
|
||||||
FILE_PATH="../dsrtemp/DSR-$TODAY_DATE.pdf"
|
FILE_PATH="../dsr-build-output/DSR-$TODAY_DATE.pdf"
|
||||||
|
|
||||||
# Check if the file exists
|
# Check if the file exists
|
||||||
if [ ! -f "$FILE_PATH" ]; then
|
if [ ! -f "$FILE_PATH" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user