From ede6a1f82b5700ab779bdd51aa745db7d0a4d7e4 Mon Sep 17 00:00:00 2001 From: Mykola <61082418+gulivero1773@users.noreply.github.com> Date: Fri, 22 Mar 2024 09:27:18 +0200 Subject: [PATCH] Update docc.yml --- .github/workflows/docc.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docc.yml b/.github/workflows/docc.yml index 3a1bb85..898897e 100644 --- a/.github/workflows/docc.yml +++ b/.github/workflows/docc.yml @@ -26,14 +26,15 @@ jobs: - name: Checkout 🛎️ uses: actions/checkout@v3 - name: Build All DocC 🛠 - run: | - swift package resolve; - xcodebuild docbuild -scheme fs-app-health-checks -derivedDataPath /tmp/docbuild -destination 'generic/platform=iOS,OS=16'; - $(xcrun --find docc) process-archive \ - transform-for-static-hosting /tmp/docbuild/Build/Products/Debug-iphoneos/HealthChecks.doccarchive \ - --output-path docs \ - --hosting-base-path healthchecks; - echo "" > docs/index.html; + run: swift package --allow-writing-to-directory ./docs generate-documentation --target HealthChecks --output-path ./docs + # run: | + # swift package resolve; + # xcodebuild docbuild -scheme fs-app-health-checks -derivedDataPath /tmp/docbuild -destination 'generic/platform=iOS,OS=16'; + # $(xcrun --find docc) process-archive \ + # transform-for-static-hosting /tmp/docbuild/Build/Products/Debug-iphoneos/HealthChecks.doccarchive \ + # --output-path docs \ + # --hosting-base-path healthchecks; + # echo "" > docs/index.html; - name: Upload artifact 📜 uses: actions/upload-pages-artifact@v1