Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
ProFastCode committed Jul 3, 2024
1 parent 0188d82 commit ad60e7c
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/generate-page-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,12 @@ jobs:
run: |
docker-compose up -d
- name: Create docs directory if it doesn't exist
run: |
if [ ! -d "docs" ]; then
mkdir -p docs
fi
- name: Fetch page docs
run: |
until $(curl -o docs/index.html --silent --fail http://0.0.0.0:8000/api/docs); do
until $(curl -o docs/openapi.json --silent --fail http://0.0.0.0:8000/api/openapi.json); do
sleep 1
done
curl -o docs/openapi.json --silent --fail http://0.0.0.0:8000/api/openapi.json
- uses: EndBug/add-and-commit@v9
with:
default_author: github_actions

env:
APP_PATH: "/docs"

0 comments on commit ad60e7c

Please sign in to comment.