Skip to content

Commit

Permalink
ci: use 'docs' as docc output path
Browse files Browse the repository at this point in the history
  • Loading branch information
Akazm committed Dec 16, 2024
1 parent d82d5d6 commit bd52e8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: '.docs'
path: 'docs'
- id: deployment
name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion scripts/docc.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
xcodebuild docbuild -scheme tap-guard -destination 'generic/platform=macOS' -derivedDataPath "$PWD/.derivedData"
$(xcrun --find docc) process-archive \
transform-for-static-hosting "$PWD/.derivedData/Build/Products/Debug/TapGuard.doccarchive" \
--output-path .docs \
--output-path docs \
--hosting-base-path "TapGuard"

echo "<script>window.location.href += \"/documentation/tapguard\"</script>" > docs/index.html;

0 comments on commit bd52e8d

Please sign in to comment.