Skip to content

Commit

Permalink
Update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
w3stling committed Aug 5, 2024
1 parent e9ebe3c commit 38d2925
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 38d2925

Please sign in to comment.