1 parent 6e7c4e0 commit e7b0e1eCopy full SHA for e7b0e1e
1 file changed
.github/workflows/static.yml
@@ -33,11 +33,17 @@ jobs:
33
uses: actions/checkout@v4
34
- name: Setup Pages
35
uses: actions/configure-pages@v5
36
+ # =======================================================
37
+ # 新增的修改部分:自动启用和配置 GitHub Pages
38
+ # 这会自动将仓库的部署源设置为 "GitHub Actions"
39
40
+ with:
41
+ enablement: true
42
- name: Upload artifact
43
uses: actions/upload-pages-artifact@v3
44
with:
45
# Upload entire repository
46
path: '.'
47
- name: Deploy to GitHub Pages
48
id: deployment
- uses: actions/deploy-pages@v4
49
+ uses: actions/deploy-pages@v4
0 commit comments