We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d9d698 commit e44713dCopy full SHA for e44713d
.github/workflows/ci-workflow.yml
@@ -18,14 +18,10 @@ jobs:
18
ruby-version: '3.1'
19
bundler-cache: true
20
- 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
+ run: bundle exec jekyll build -d _site
27
28
- name: Deploy to GitHub Pages
29
- uses: actions/deploy-pages@v4
+ uses: peaceiris/actions-gh-pages@v3
30
with:
31
- artifact_name: github-pages
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: ./_site # 部署 Jekyll 生成的静态文件
0 commit comments