Skip to content

Commit

Permalink
Update doc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
emrearmagan authored Jan 5, 2025
1 parent f26e1a3 commit 2d462cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:
run: |
swift package resolve;
xcodebuild docbuild -scheme ModalKit -derivedDataPath /tmp/docbuild -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.0';
xcodebuild docbuild -scheme ModalKit -derivedDataPath /tmp/docbuild -destination 'generic/platform=iOS';
echo "Debugging build output...";
ls -R /tmp/docbuild/Build/Products/Debug-iphonesimulator;
ls -R /tmp/docbuild/Build/Products/Debug-iphoneos;
echo "Archiving documentation..."
$(xcrun --find docc) process-archive \
transform-for-static-hosting /tmp/docbuild/Build/Products/Debug-iphonesimulator/ModalKit.doccarchive \
transform-for-static-hosting /tmp/docbuild/Build/Products/Debug-iphoneos/ModalKit.doccarchive \
--output-path docs \
--hosting-base-path 'ModalKit';
Expand Down

0 comments on commit 2d462cd

Please sign in to comment.