Skip to content

Commit 883518e

Browse files
committed
create docs
1 parent ff0b993 commit 883518e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,15 @@ jobs:
2121
docker-compose up -d
2222
sleep 5
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 /docs page
2531
run: |
26-
until $(curl -o /docs/index.html --silent --head --fail http://0.0.0.0:8000/api/docs); do
32+
until $(curl -o docs/index.html --silent --head --fail http://0.0.0.0:8000/api/docs); do
2733
printf '.'
2834
sleep 1
2935
done

0 commit comments

Comments
 (0)