File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,14 +34,11 @@ jobs:
3434 xcode-version : ' 16.0'
3535 - name : DocC 문서 빌드
3636 run : |
37- xcodebuild -scheme blog \
38- -derivedDataPath /tmp/docbuild \
39- -destination 'generic/platform=macOS';
40- $(xcrun --find docc) process-archive \
41- transform-for-static-hosting ./.build/plugins/Swift-DocC/outputs/intermediates/blog.doccarchive \
42- --hosting-base-path swift-docc-blog \
43- --output-path docs;
44- echo "<script>window.location.href += \"/documentation/blog\"</script>" > docs/index.html
37+ swift package --allow-writing-to-directory ./docs \
38+ generate-documentation --target blog --disable-indexing \
39+ --output-path ./docs \
40+ --transform-for-static-hosting \
41+ --hosting-base-path swift-docc-blog
4542 - name : artifact 업로드
4643 uses : actions/upload-pages-artifact@v3
4744 with :
You can’t perform that action at this time.
0 commit comments