From c4cc7516c24e84c173ae69b5eb0e48c4ab3a79cb Mon Sep 17 00:00:00 2001 From: Fast Code Date: Wed, 3 Jul 2024 03:47:24 +0300 Subject: [PATCH] . --- .github/workflows/generate-page-docs.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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