Skip to content

Commit 6024704

Browse files
committed
Update doc.yml
1 parent b84e1b7 commit 6024704

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed

.github/workflows/doc.yml

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,38 @@ name: Generate Word Doc
33
on: push
44

55
jobs:
6+
# convert_via_pandoc:
7+
# runs-on: ubuntu-22.04
8+
# steps:
9+
# - uses: actions/checkout@v4
10+
# - name: create file list
11+
# id: files_list
12+
# run: |
13+
# # this will also include all README.md files in order of folder name
14+
# echo "files=$(printf '"%s" ' */*.md)" > $GITHUB_OUTPUT
15+
# - name: list files
16+
# run: |
17+
# ls -aR
18+
# - uses: docker://pandoc/latex:2.9
19+
# with:
20+
# args: -s ${{ steps.files_list.outputs.files }} -f markdown -o=./output/cosmos-db-openai-python-dev-guide.docx
21+
# - uses: actions/upload-artifact@v3
22+
# with:
23+
# name: output
24+
# path: output
25+
626
convert_via_pandoc:
7-
runs-on: ubuntu-22.04
27+
runs-on: ubuntu-20.04
28+
container:
29+
image: pandoc/core:2.9
30+
831
steps:
9-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v2
1033
- name: create file list
1134
id: files_list
1235
run: |
1336
# this will also include all README.md files in order of folder name
1437
echo "files=$(printf '"%s" ' */*.md)" > $GITHUB_OUTPUT
15-
- name: list files
16-
run: |
17-
ls -aR
1838
- uses: docker://pandoc/latex:2.9
1939
with:
2040
args: -s ${{ steps.files_list.outputs.files }} -f markdown -o=./output/cosmos-db-openai-python-dev-guide.docx

0 commit comments

Comments
 (0)