Skip to content

Commit c95b066

Browse files
committed
.
1 parent 1845eed commit c95b066

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/generate-page-docs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,18 @@ jobs:
2121
run: |
2222
docker-compose up -d
2323
24+
- name: Create docs directory if it doesn't exist
25+
run: |
26+
if [ ! -d "docs" ]; then
27+
mkdir -p docs
28+
fi
29+
2430
- name: Fetch page docs
2531
run: |
2632
until $(curl -o docs/openapi.json --silent --fail http://0.0.0.0:8000/api/openapi.json); do
2733
sleep 1
2834
done
35+
curl -o docs/index.html --silent --fail http://0.0.0.0:8000/api/docs
2936
3037
- uses: EndBug/add-and-commit@v9
3138
with:

0 commit comments

Comments
 (0)