Skip to content

Commit

Permalink
repo name as parameter of DocC script
Browse files Browse the repository at this point in the history
  • Loading branch information
kosyloa committed Mar 14, 2024
1 parent 36146ab commit 9f013be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: cd documentations/Build/Products/Debug; zip ../../../../documentation.zip DXFeedFramework.doccarchive -r; cd -

- name: Create HTML Docs
run: ./build_doc.sh
run: ./build_doc.sh ${GITHUB_REPOSITORY#$GITHUB_REPOSITORY_OWNER/}
shell: sh

- name: Commit Docs
Expand Down
3 changes: 2 additions & 1 deletion build_doc.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
echo $1
xcodebuild docbuild -scheme DXFeedFramework -derivedDataPath documentations/

`(xcrun --find docc)` process-archive \
transform-for-static-hosting documentations/Build/Products/Debug/DXFeedFramework.doccarchive \
--output-path docs \
--hosting-base-path dxfeed-graal-swift-api
--hosting-base-path $1

0 comments on commit 9f013be

Please sign in to comment.