Skip to content

Commit

Permalink
Update docc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLeif authored Sep 27, 2024
1 parent a65c751 commit 64009f7
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/docc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,19 @@ jobs:
- name: docbuild
run: >
sudo xcode-select -s /Applications/Xcode_16.0.app;
- name: git checkout
uses: actions/checkout@v3
- name: docbuild
run: |
xcodebuild docbuild -scheme Fork \
-derivedDataPath /tmp/docbuild \
-destination 'generic/platform=iOS';
$(xcrun --find docc) process-archive \
transform-for-static-hosting /tmp/docbuild/Build/Products/Debug-iphoneos/Fork.doccarchive \
--output-path docs;
echo "<script>window.location.href += \"/documentation/fork\"</script>" > docs/index.html;
--output-path docs \
--hosting-base-path 'Fork';
echo "<script>window.location.href +=
\"/documentation/fork\"</script>" > docs/index.html;
- name: artifacts
uses: actions/upload-pages-artifact@v1
with:
path: 'docs'
path: docs
- name: deploy
id: deployment
uses: actions/deploy-pages@v1

0 comments on commit 64009f7

Please sign in to comment.