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 ea72868 commit ede6a1f
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/docc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "<script>window.location.href += \"/documentation/healthchecks\"</script>" > 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 "<script>window.location.href += \"/documentation/healthchecks\"</script>" > docs/index.html;

- name: Upload artifact 📜
uses: actions/upload-pages-artifact@v1
Expand Down

0 comments on commit ede6a1f

Please sign in to comment.