Skip to content

Commit 6adbcf5

Browse files
committed
[MOD] Used deploy-pages in lieu of 3rd party action tool
1 parent 167bbf0 commit 6adbcf5

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ jobs:
2323
run: swift run --configuration release
2424
# 만약 안 먹히면, build -> .build/release/KoreanSwiftStudentSite
2525

26-
- name: 파일 복사
27-
run: |
26+
- name: Pages 설정
27+
uses: actions/configure-pages@v5
28+
29+
- name: Artifact 업로드
30+
uses: actions/upload-pages-artifact@v3
31+
with:
32+
path: './Build'
2833

2934
- name: 배포
30-
uses: peaceiris/actions-gh-pages@v3
31-
with:
32-
personal_token: ${{ secrets.PERSONAL_TOKEN }}
33-
external_repository: wwdc-kr/wwdc-kr.github.io
34-
publish_branch: deploy-test # TODO: main
35-
publish_dir: ./Build/
35+
id: deployment
36+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)