Skip to content

Commit

Permalink
Update build task to puvlish docs instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bram-- committed Mar 2, 2024
1 parent a932582 commit a46f41b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,17 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: Bram--/bggclient

- name: Generate API documentation
if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request' }}
run: |
./gradlew dokkaHtml
- name: Deploy API documentation to Github Pages
if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build/dokka/html
target-folder: api

0 comments on commit a46f41b

Please sign in to comment.