diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4a33260..ff8d9f9 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -32,14 +32,13 @@ jobs: with: node-version: '20' - - name: Install Redoc CLI - run: npm install -g redoc-cli - - name: Generate HTML from OpenAPI JSON run: npx @redocly/cli build-docs openapi.json - name: Move generated HTML to docs directory - run: mv redoc-static.html docs/index.html + run: | + mkdir -p docs + mv redoc-static.html docs/index.html - name: Upload artifact uses: actions/upload-pages-artifact@v1