Skip to content

Commit d1f8da6

Browse files
committed
Try another sample code
1 parent 29d9beb commit d1f8da6

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/deploy_docc.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,15 @@ jobs:
2424

2525
- name: Build DocC
2626
run: |
27-
./archive-docc.sh
27+
$(xcrun --find docc) convert \
28+
--hosting-base-path "" \
29+
--output-path Target.doccarchive \
30+
Guide.docc
31+
32+
$(xcrun --find docc) process-archive transform-for-static-hosting \
33+
Target.doccarchive \
34+
--hosting-base-path "" \
35+
--output-path ./docs
2836
2937
- name: Upload artifact
3038
uses: actions/upload-pages-artifact@v3

archive-docc.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ $DOCC_COMMAND convert Guide.docc \
1010
--output-dir $DOCC_ARCHIVE
1111

1212
$DOCC_COMMAND process-archive transform-for-static-hosting \
13-
$DOCC_ARCHIVE \
1413
--output-path ./docs \
14+
$DOCC_ARCHIVE

0 commit comments

Comments
 (0)