File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,11 @@ jobs:
62
62
fi
63
63
64
64
- name : Generate sitemap
65
+ shell : bash
65
66
run : |
66
67
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 ../../../
69
70
70
71
- name : Setup Pages
71
72
id : pages
Original file line number Diff line number Diff line change 5
5
6
6
def parse_summary ():
7
7
"""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 :
9
9
for line in file :
10
10
if "](" in line :
11
11
url = line .split ("](" )[1 ].split (")" )[0 ]
You can’t perform that action at this time.
0 commit comments