Skip to content

Commit e44713d

Browse files
committed
update
1 parent 1d9d698 commit e44713d

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/ci-workflow.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,10 @@ jobs:
1818
ruby-version: '3.1'
1919
bundler-cache: true
2020
- name: Build Main Site
21-
run: bundle exec jekyll build
22-
23-
- name: Upload artifact
24-
uses: actions/upload-pages-artifact@v2
25-
with:
26-
path: ./_site
21+
run: bundle exec jekyll build -d _site
2722

2823
- name: Deploy to GitHub Pages
29-
uses: actions/deploy-pages@v4
24+
uses: peaceiris/actions-gh-pages@v3
3025
with:
31-
artifact_name: github-pages
26+
github_token: ${{ secrets.GITHUB_TOKEN }}
27+
publish_dir: ./_site # 部署 Jekyll 生成的静态文件

0 commit comments

Comments
 (0)