From 7a985ea7650f05764d83df7e29707d38c06c4dab Mon Sep 17 00:00:00 2001 From: Andrew Reed Date: Fri, 21 Jun 2024 09:45:17 +0100 Subject: [PATCH] Adjusted documentation scripts * Test documentation * Added build artifact * Adjusted folder for docs * adjusted directory * moved to docs folder * Adjusted testing scripts * Added new line --- .github/workflows/publish.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 56cb553b3..e06bb0b3a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -68,9 +68,14 @@ jobs: run: chmod +x gradlew - name: Generate documentation run: ./gradlew dokkaHtmlMultiModule + - name: Uploading build folder + uses: actions/upload-artifact@v2 + with: + name: artefact + path: build/dokka/htmlMultiModule - 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 + folder: build/dokka/htmlMultiModule + target-folder: docs