Skip to content

Commit 7d4eaa6

Browse files
authored
Merge pull request #3 from boardfish/2-hardcoded-output-directory
Set output directory arg for git add
2 parents 797c13a + cf220a9 commit 7d4eaa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ if ls $INPUT_DIRECTORY/*.md ; then
7979
find $INPUT_DIRECTORY -type f -name '*.md' -print0 | xargs -0 -n1 basename | xargs -P2 -I{} pandoc "$INPUT_DIRECTORY/{}" --template="$TEMPLATE_FILE" -o "$OUTPUT_DIRECTORY/{}.pdf"
8080
_git_setup
8181
echo "Committing and pushing changes..."
82-
git add out
82+
git add $OUTPUT_DIRECTORY
8383
git commit -m "Compiled PDFs"
8484
git push origin
8585
echo "Changes pushed successfully."

0 commit comments

Comments
 (0)