Skip to content

Commit bdc6f3b

Browse files
committed
fix: apidocs double root
Signed-off-by: Sam Gammon <[email protected]>
1 parent 38820d7 commit bdc6f3b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@ jobs:
8888

8989
- name: Create API docs layout
9090
run: |
91-
mkdir -p dir/apidocs/
92-
cp -fv apidocs.tgz dir/apidocs/apidocs.tgz
93-
cd dir/apidocs/
91+
mkdir -p dir/api
92+
cp -fv apidocs.tgz dir/
93+
cd dir
9494
tar --strip-components=1 -xzf apidocs.tgz
9595
rm -fv apidocs.tgz
96-
cd ../..
96+
cd ..
9797
echo "API docs unpacked."
9898
tree -L 3
9999

API/1.0.0-alpha9.tgz

-5.85 KB
Binary file not shown.

0 commit comments

Comments
 (0)