diff --git a/.github/workflows/docc.yml b/.github/workflows/docc.yml index e311354..24d29f9 100644 --- a/.github/workflows/docc.yml +++ b/.github/workflows/docc.yml @@ -22,20 +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 Later \ -derivedDataPath /tmp/docbuild \ -destination 'generic/platform=iOS'; $(xcrun --find docc) process-archive \ transform-for-static-hosting /tmp/docbuild/Build/Products/Debug-iphoneos/Later.doccarchive \ - --output-path docs; + --output-path docs \ + --hosting-base-path 'Later'; + echo "" > 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