Skip to content

Commit 77a7dbe

Browse files
authored
ci: fix sync docs (#187)
* ci: fix sync docs * ci: fix sync docs
1 parent fd8d93d commit 77a7dbe

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/push-docs.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,15 @@ jobs:
3232
git config --global user.email "[email protected]"
3333
3434
- name: setup registry code documentation
35-
run: |
36-
apt install doxygen -y
37-
cd engine/packages/ecs-lib/docs
38-
doxygen Doxyfile
39-
cd -
40-
cp engine/packages/ecs-lib/docs engine/docs/registry/api
35+
uses: mattnotmitt/doxygen-action@v1
36+
with:
37+
doxyfile-path: engine/packages/ecs-lib/docs/Doxyfile
4138

4239
- name: synchronize docs
4340
run: |
41+
cp -r engine/packages/ecs-lib/docs engine/docs/registry/api
4442
mkdir -p docs/engine
45-
cp engine/docs/. -r docs/engine
43+
cp -r engine/docs/* docs/engine
4644
cd docs
4745
git add .
4846
git commit -m "chore(engine): updating docs"

0 commit comments

Comments
 (0)