From 38d29253e514a80169e2f1d78ee6c65649839dbf Mon Sep 17 00:00:00 2001 From: w3stling Date: Mon, 5 Aug 2024 21:29:27 +0200 Subject: [PATCH] Update build script --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a387c1..f1ca007 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -54,7 +54,7 @@ jobs: echo "Next version: ${{ steps.version.outputs.next-version }}" documentation: - name: 📚 Publish API documentation + name: 📚 Publish API doc needs: [build] if: ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' && github.event_name != 'schedule' }} runs-on: ubuntu-latest @@ -67,12 +67,12 @@ jobs: moduleDir: trading_calendar outputExtension: json - - name: Generate API documentation 📝 + - name: Generate API doc 📝 uses: seeebiii/redoc-cli-github-action@v10 with: - args: 'bundle openapi.json -o docs/api-doc/openapi.html' + args: 'bundle openapi.json -o docs/api-doc/index.html' - - name: Deploy API documentation 📚 + - name: Deploy API doc 📚 uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages