Skip to content

Commit

Permalink
Update build-deploy-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
loay-ashraf committed Oct 5, 2023
1 parent 057683e commit 609ab04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
destination: generic/platform=iOS Simulator
run: |
xcodebuild docbuild -workspace "${workspace}" -scheme "${scheme}" -destination "${destination}" -derivedDataPath derivedData | xcpretty;
cd derivedData
ls
$(xcrun --find docc) process-archive transform-for-static-hosting derivedData/Build/Products/Debug-iphoneos/RxNetworkKit.doccarchive --hosting-base-path RxNetworkKit --output-path docs;
echo "<script>window.location.href += \"/documentation/mypackage\"</script>" > docs/index.html;
- name: Upload artifact
Expand Down

0 comments on commit 609ab04

Please sign in to comment.