Skip to content

Commit 4e20519

Browse files
committed
yml fix pandoc image refs
1 parent 53d8934 commit 4e20519

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/doc.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ jobs:
66
convert_via_pandoc:
77
runs-on: ubuntu-22.04
88
steps:
9-
- uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
1010
- name: create file list
1111
id: files_list
1212
run: |
1313
# this will also include all README.md files in order of folder name
1414
echo "files=$(printf '"%s" ' */*.md)" > $GITHUB_OUTPUT
15+
- script: |
16+
find . -type f \( -iname "*.jpg" -o -iname "*/media/*.jpg" \) -exec cp '{}' /media \;
17+
find . -type f \( -iname "*.jpg" -o -iname "*/images/*.jpg" \) -exec cp '{}' /images \;
1518
- uses: docker://pandoc/latex:2.9
1619
with:
1720
args: --output=output/cosmos-db-openai-python-dev-guide.docx ${{ steps.files_list.outputs.files }}

0 commit comments

Comments
 (0)