Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .github/workflows/merge-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,13 @@ jobs:
exit 1
fi

SOURCE_PDF_EN="build/assembler-pdf/${COMPONENT_NAME}/${MERGED_BRANCH}/_exports/index.pdf"
SOURCE_PDF_EN="build/assembler/pdf/${COMPONENT_NAME}/${MERGED_BRANCH}/_exports/index.pdf"
DEST_EN="../www_publish_target/docs/en/${COMPONENT_NAME}/${MERGED_BRANCH}/ivorysql.pdf"

echo "--- Debug: PDF output directory structure ---"
find build/ -name "*.pdf" 2>/dev/null || echo "No PDF files found under build/"
echo "--- End debug ---"

if [[ ! -f "${SOURCE_PDF_EN}" ]]; then
echo "::error::English PDF not found at ${SOURCE_PDF_EN}"
exit 1
Expand Down Expand Up @@ -240,9 +244,13 @@ jobs:
exit 1
fi

SOURCE_PDF="build/assembler-pdf/${COMPONENT_NAME}/${MERGED_BRANCH}/_exports/index.pdf"
SOURCE_PDF="build/assembler/pdf/${COMPONENT_NAME}/${MERGED_BRANCH}/_exports/index.pdf"
DEST_CN="../www_publish_target/docs/cn/${COMPONENT_NAME}/${MERGED_BRANCH}/ivorysql.pdf"

echo "--- Debug: PDF output directory structure ---"
find build/ -name "*.pdf" 2>/dev/null || echo "No PDF files found under build/"
echo "--- End debug ---"

if [[ ! -f "${SOURCE_PDF}" ]]; then
echo "::error::PDF not found at ${SOURCE_PDF}"
exit 1
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,14 @@ jobs:
echo "Building Chinese site..."
#mkdir -p ../www_publish_target/docs/cn
npx antora generate --stacktrace --to-dir ../www_publish_target/docs/cn antora-playbook-CN.yml


- name: Debug PDF output paths
working-directory: ./ivory-doc-builder
run: |
echo "--- Debug: PDF output directory structure ---"
find build/ -name "*.pdf" 2>/dev/null || echo "No PDF files found under build/"
echo "--- End debug ---"

- name: Deploy to Netlify
id: netlify_deploy
uses: nwtgck/actions-netlify@v3.0
Expand Down
Loading