Skip to content

Commit

Permalink
Update docc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gulivero1773 authored Mar 22, 2024
1 parent 0ecb5b0 commit 0d019fc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
- name: Build All DocC 🛠
run: |
swift package --allow-writing-to-directory ./docs generate-documentation --target HealthChecks --output-path ./docs --transform-for-static-hosting --hosting-base-path HealthChecks
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 "<script>window.location.href += \"/documentation/healthchecks\"</script>" > docs/index.html;
# swift package --disable-sandbox preview-documentation --target HealthChecks
Expand Down

0 comments on commit 0d019fc

Please sign in to comment.