diff --git a/.github/workflows/generate-page-docs.yml b/.github/workflows/generate-page-docs.yml index a03bde9..395e89c 100644 --- a/.github/workflows/generate-page-docs.yml +++ b/.github/workflows/generate-page-docs.yml @@ -34,6 +34,12 @@ jobs: done curl -o docs/index.html --silent --fail http://0.0.0.0:8000/api/docs + - uses: peter-evans/find-replace-action@v2 + with: + find: "/api/openapi.json" + replace: "openapi.json" + include: "docs/index.html" + - uses: EndBug/add-and-commit@v9 with: default_author: github_actions