Skip to content

Commit

Permalink
update docs publish workflow...
Browse files Browse the repository at this point in the history
  • Loading branch information
astinz committed Aug 19, 2024
1 parent b5719c2 commit a52ec19
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,7 @@ on:
branches: [ "master" ]

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

contents: write

jobs:
deploy-gh-pages:
Expand All @@ -31,11 +26,14 @@ jobs:
- name: Make gradlew executable
run: chmod +x ./gradlew
shell: bash
- name: Generate GraphQL Client
run: ./gradlew graphqlGenerateClient
shell: bash
- name: Generate HTML docs
run: ./gradlew dokkaHtml
shell: bash
- name: Deploy docs to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.3
uses: JamesIves/github-pages-deploy-action@v4.6.3
with:
branch: gh-pages
folder: lib/build/dokka
folder: lib/build/dokka

0 comments on commit a52ec19

Please sign in to comment.