File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed
Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -215,9 +215,13 @@ jobs:
215215 exit 1
216216 fi
217217
218- SOURCE_PDF_EN="build/assembler- pdf/${COMPONENT_NAME}/${MERGED_BRANCH}/_exports/index.pdf"
218+ SOURCE_PDF_EN="build/assembler/ pdf/${COMPONENT_NAME}/${MERGED_BRANCH}/_exports/index.pdf"
219219 DEST_EN="../www_publish_target/docs/en/${COMPONENT_NAME}/${MERGED_BRANCH}/ivorysql.pdf"
220220
221+ echo "--- Debug: PDF output directory structure ---"
222+ find build/ -name "*.pdf" 2>/dev/null || echo "No PDF files found under build/"
223+ echo "--- End debug ---"
224+
221225 if [[ ! -f "${SOURCE_PDF_EN}" ]]; then
222226 echo "::error::English PDF not found at ${SOURCE_PDF_EN}"
223227 exit 1
@@ -248,9 +252,13 @@ jobs:
248252 exit 1
249253 fi
250254
251- SOURCE_PDF="build/assembler- pdf/${COMPONENT_NAME}/${MERGED_BRANCH}/_exports/index.pdf"
255+ SOURCE_PDF="build/assembler/ pdf/${COMPONENT_NAME}/${MERGED_BRANCH}/_exports/index.pdf"
252256 DEST_CN="../www_publish_target/docs/cn/${COMPONENT_NAME}/${MERGED_BRANCH}/ivorysql.pdf"
253257
258+ echo "--- Debug: PDF output directory structure ---"
259+ find build/ -name "*.pdf" 2>/dev/null || echo "No PDF files found under build/"
260+ echo "--- End debug ---"
261+
254262 if [[ ! -f "${SOURCE_PDF}" ]]; then
255263 echo "::error::PDF not found at ${SOURCE_PDF}"
256264 exit 1
Original file line number Diff line number Diff line change @@ -123,7 +123,14 @@ jobs:
123123 echo "Building Chinese site..."
124124 #mkdir -p ../www_publish_target/docs/cn
125125 npx antora generate --stacktrace --to-dir ../www_publish_target/docs/cn antora-playbook-CN.yml
126-
126+
127+ - name : Debug PDF output paths
128+ working-directory : ./ivory-doc-builder
129+ run : |
130+ echo "--- Debug: PDF output directory structure ---"
131+ find build/ -name "*.pdf" 2>/dev/null || echo "No PDF files found under build/"
132+ echo "--- End debug ---"
133+
127134 - name : Deploy to Netlify
128135 id : netlify_deploy
129136 uses : nwtgck/actions-netlify@v3.0
You can’t perform that action at this time.
0 commit comments