Skip to content

Commit e7b0e1e

Browse files
committed
1
1 parent 6e7c4e0 commit e7b0e1e

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎.github/workflows/static.yml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,17 @@ jobs:
3333
uses: actions/checkout@v4
3434
- name: Setup Pages
3535
uses: actions/configure-pages@v5
36+
# =======================================================
37+
# 新增的修改部分:自动启用和配置 GitHub Pages
38+
# 这会自动将仓库的部署源设置为 "GitHub Actions"
39+
# =======================================================
40+
with:
41+
enablement: true
3642
- name: Upload artifact
3743
uses: actions/upload-pages-artifact@v3
3844
with:
3945
# Upload entire repository
4046
path: '.'
4147
- name: Deploy to GitHub Pages
4248
id: deployment
43-
uses: actions/deploy-pages@v4
49+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)