We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b39655 commit efda10aCopy full SHA for efda10a
.github/workflows/export-keynote.yml
@@ -102,7 +102,6 @@ jobs:
102
run: |
103
set -euo pipefail
104
BRANCH="pdfs"
105
- DEST_DIR="."
106
git config user.name "github-actions"
107
git config user.email "github-actions@github.com"
108
# Ensure we can reference the branch (create if missing)
@@ -116,8 +115,8 @@ jobs:
116
115
(cd _pdfs && git commit --allow-empty -m "Initialize ${BRANCH} branch")
117
fi
118
# Copy PDFs into the worktree
119
- mkdir -p "_pdfs/${DEST_DIR}"
120
- cp -f "$OUT_DIR/$TARGET_PDF" "./$TARGET_PDF"
+ mkdir -p "_pdfs/"
+ cp -f "$OUT_DIR/$TARGET_PDF" "_pdfs/$TARGET_PDF"
121
# Commit only if there are changes
122
cd _pdfs
123
git add "$TARGET_PDF"
0 commit comments