1 parent e8c8d52 commit 26260d0Copy full SHA for 26260d0
1 file changed
.github/workflows/Docc.yml
@@ -25,10 +25,9 @@ jobs:
25
- name: Transform for static hosting
26
# Convert the .doccarchive to a static website format
27
run: |
28
- $(xcrun --find docc) process-archive \
29
- transform-for-static-hosting .build/documentation/OpenSwiftUI.doccarchive \
30
- --hosting-base-path OpenSwiftUI \
31
- --output-path docs # Output to a 'docs' directory
+ swift package --allow-writing-to-directory ./docs \
+ generate-documentation --target OpenSwiftUI --output-path ./docs \
+ --transform-for-static-hosting --hosting-base-path OpenSwiftUI
32
33
- name: Deploy to GitHub Pages
34
uses: peaceiris/actions-gh-pages@v3
0 commit comments