From 59995ecd31c40d6ea51fc96358456e1fe5ca7b2c Mon Sep 17 00:00:00 2001 From: UriyDevyataev <91690559+UriyDevyataev@users.noreply.github.com> Date: Thu, 21 Mar 2024 10:44:33 +0300 Subject: [PATCH] Docc generation (#57) --- .github/workflows/docs.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index cd2ed42..1dc0a06 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -19,7 +19,7 @@ concurrency: jobs: docs: - runs-on: ubuntu-latest + runs-on: macos-latest steps: - uses: actions/checkout@v3 @@ -30,13 +30,10 @@ jobs: with: swift-version: '5.7' - name: Generate Docs - uses: fwcd/swift-docc-action@v1 - with: - target: Fastis - output: ./public - transform-for-static-hosting: 'true' - disable-indexing: 'true' - hosting-base-path: Fastis + run: | + xcodebuild docbuild -scheme Fastis \ + -destination generic/platform=iOS \ + OTHER_DOCC_FLAGS="--transform-for-static-hosting --hosting-base-path Fastis --output-path public" - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: