Skip to content

Commit 99bcca5

Browse files
committed
Target current PDF for commit to pdfs.
1 parent 9ae148a commit 99bcca5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/export-keynote.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
# You can override this at dispatch time with the input above
2424
KEYNOTE_GLOB: ${{ github.event.inputs.keynote_glob || '**/*.key' }}
2525
OUT_DIR: out-pdf
26+
TARGET_PDF: cmsc430-2025-fall.pdf
2627

2728
steps:
2829
- name: Check out
@@ -116,7 +117,7 @@ jobs:
116117
fi
117118
# Copy PDFs into the worktree
118119
mkdir -p "_pdfs/${DEST_DIR}"
119-
cp -f ${OUT_DIR}/*.pdf "_pdfs/${DEST_DIR}/" || true
120+
cp -f "../$OUT_DIR/$TARGET_PDF" "./$TARGET_PDF"
120121
# Commit only if there are changes
121122
cd _pdfs
122123
git add -A

0 commit comments

Comments
 (0)