File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,11 @@ jobs:
6262 fi
6363
6464 - name : Generate sitemap
65+ shell : bash
6566 run : |
6667 cd ${{ env.ARTIFACT_PATH }}
67- python3 ../scripts/generate_sitemap.py --domain "component-model.bytecodealliance.org" --higher-priority "design" --output-path book/ sitemap.xml
68- cd ..
68+ python3 ../../../ scripts/generate_sitemap.py --domain "component-model.bytecodealliance.org" --higher-priority "design" --output-path sitemap.xml
69+ cd ../../../
6970
7071 - name : Setup Pages
7172 id : pages
Original file line number Diff line number Diff line change 55
66def parse_summary ():
77 """Parse URLs from the SUMMARY.md file."""
8- with open ("src/SUMMARY.md" , "r" ) as file :
8+ with open ("../../ src/SUMMARY.md" , "r" ) as file :
99 for line in file :
1010 if "](" in line :
1111 url = line .split ("](" )[1 ].split (")" )[0 ]
You can’t perform that action at this time.
0 commit comments