Skip to content

Commit 26260d0

Browse files
committed
chore: try to fix docc workflow
1 parent e8c8d52 commit 26260d0

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/Docc.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ jobs:
2525
- name: Transform for static hosting
2626
# Convert the .doccarchive to a static website format
2727
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
28+
swift package --allow-writing-to-directory ./docs \
29+
generate-documentation --target OpenSwiftUI --output-path ./docs \
30+
--transform-for-static-hosting --hosting-base-path OpenSwiftUI
3231
3332
- name: Deploy to GitHub Pages
3433
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)