Skip to content

Commit efda10a

Browse files
committed
Try to fix.
1 parent 0b39655 commit efda10a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/export-keynote.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ jobs:
102102
run: |
103103
set -euo pipefail
104104
BRANCH="pdfs"
105-
DEST_DIR="."
106105
git config user.name "github-actions"
107106
git config user.email "github-actions@github.com"
108107
# Ensure we can reference the branch (create if missing)
@@ -116,8 +115,8 @@ jobs:
116115
(cd _pdfs && git commit --allow-empty -m "Initialize ${BRANCH} branch")
117116
fi
118117
# Copy PDFs into the worktree
119-
mkdir -p "_pdfs/${DEST_DIR}"
120-
cp -f "$OUT_DIR/$TARGET_PDF" "./$TARGET_PDF"
118+
mkdir -p "_pdfs/"
119+
cp -f "$OUT_DIR/$TARGET_PDF" "_pdfs/$TARGET_PDF"
121120
# Commit only if there are changes
122121
cd _pdfs
123122
git add "$TARGET_PDF"

0 commit comments

Comments
 (0)