Skip to content

Commit 6253372

Browse files
Merge branch 'develop'
# Conflicts: # .github/workflows/build-and-deployment.yml
2 parents f6fe3f0 + 236d7d2 commit 6253372

127 files changed

Lines changed: 890 additions & 475 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-and-deployment.yml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,16 @@ jobs:
3434
xcode-version: '16.0'
3535
- name: DocC 문서 빌드
3636
run: |
37-
xcodebuild -scheme blog -destination 'platform=macOS' \
38-
-derivedDataPath /tmp/docbuild;
39-
$(xcrun --find docc) process-archive \
40-
transform-for-static-hosting /tmp/docbuild/Build/Products/Debug-macosx/blog.doccarchive \
41-
--hosting-base-path swift-docc-blog \
42-
--output-path docs;
43-
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
4442
- name: artifact 업로드
45-
uses: actions/upload-pages-artifact@v3
43+
uses: actions/upload-pages-artifact@v4
4644
with:
4745
# docs 경로에 있는 것만 업로드
4846
path: 'docs'
4947
- name: GitHub Pages 에 배포
5048
id: deployment
51-
uses: actions/deploy-pages@v1
52-
53-
54-
55-
49+
uses: actions/deploy-pages@v4
86.6 KB
Loading
70.7 KB
Loading
59.9 KB
Loading
48.3 KB
Loading
28.9 KB
Loading
86.4 KB
Loading
33.2 KB
Loading
39.7 KB
Loading
44.6 KB
Loading

0 commit comments

Comments
 (0)