From c15e7f3d5e22a295c7fe920f9b7ff7e942c62152 Mon Sep 17 00:00:00 2001 From: Andrew Reed Date: Tue, 18 Jun 2024 15:32:41 +0100 Subject: [PATCH] Added publish docs --- .github/workflows/publish.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a8b8cd0d9..56cb553b3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -68,6 +68,9 @@ jobs: run: chmod +x gradlew - name: Generate documentation run: ./gradlew dokkaHtmlMultiModule - # TODO: deploy generated html somewhere (for example github pages) - # Can be found under ./build/htmlMultiModule/ - # everything should work automatically so just copying the files would suffice \ No newline at end of file + - name: Deploy API documentation to Github Pages + uses: JamesIves/github-pages-deploy-action@v4 + with: + branch: gh-pages + folder: ./build/htmlMultiModule/dokka/html + target-folder: api \ No newline at end of file