File tree 5 files changed +167
-138
lines changed
5 files changed +167
-138
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ permissions:
90
90
```yml
91
91
name: 生成 Sitemap
92
92
93
- # GitHub Action DuckDuckStudio/Sitemap_Creator 版本 1.0.5 示例工作流
93
+ # GitHub Action DuckDuckStudio/Sitemap_Creator 版本 1.0.6 示例工作流
94
94
# https://github.com/marketplace/actions/sitemap-creator-stable
95
95
# Under the [GNU Affero General Public License v3.0](https://github.com/DuckDuckStudio/Sitemap_Creator/blob/main/LICENSE)
96
96
@@ -110,7 +110,7 @@ jobs:
110
110
111
111
steps:
112
112
- name: 更新网站地图
113
- uses: DuckDuckStudio/[email protected] .5
113
+ uses: DuckDuckStudio/[email protected] .6
114
114
with:
115
115
location: " docs/sitemap.xml"
116
116
basic_link : " https://duckduckstudio.github.io/Articles/#" # docsify 部署的
@@ -125,8 +125,10 @@ jobs:
125
125
# token: ${{ github.token }}
126
126
# timezone: "Asia/Shanghai"
127
127
# update: "拉取请求"
128
+ # author_name: "github-actions[bot]"
129
+ # author_email: "41898282+github-actions[bot]@users.noreply.github.com"
128
130
```
129
131
130
- ## 星星🌟
132
+ ## 星星 🌟
131
133
如果您认为本项目对您有帮助,还请给本项目一个小小的 Star 。
132
134
[ ![ 星标历史] ( https://api.star-history.com/svg?repos=DuckDuckStudio/Sitemap_Creator&type=Date )] ( https://star-history.com/#DuckDuckStudio/Sitemap_Creator&Date )
Original file line number Diff line number Diff line change @@ -6,41 +6,30 @@ branding:
6
6
color : yellow
7
7
icon : book
8
8
9
- keywords :
10
- [
11
- ' sitemap' ,
12
- ' website' ,
13
- ' seo' ,
14
- ' creator' ,
15
- ' updater' ,
16
- ' generator' ,
17
- ' urls'
18
- ]
19
-
20
9
inputs :
21
10
location :
22
11
required : false
23
- description : 网站地图的存放位置 (例如 docs/sitemap.xml)
12
+ description : 网站地图的存放位置
24
13
default : " ./sitemap.xml"
25
14
26
15
token :
27
16
required : false
28
- description : 用于创建更新网站地图的拉取请求的 Token (不指定则使用 github.token)
17
+ description : 用于创建更新网站地图的拉取请求的 Token
29
18
default : ${{ github.token }}
30
19
31
20
timezone :
32
21
required : false
33
- description : 设置生成时使用的时区 (不指定则使用 Asia/Shanghai (UTF+8))
22
+ description : 设置生成时使用的时区
34
23
default : " Asia/Shanghai"
35
24
36
25
basic_link :
37
26
required : false
38
- description : 指向你网站的基础链接 (不指定则使用 GitHub Page 链接, 结尾不要带 / )
27
+ description : 指向你网站的基础链接
39
28
default : https://${{ github.event.repository.owner.login }}.github.io/${{ github.event.repository.name }}
40
29
41
30
file_type :
42
31
required : false
43
- description : 网页文件的类型 (例如使用 docsify 部署的就是 md,可指定多个类型)
32
+ description : 网页文件的类型
44
33
default : " html,md"
45
34
46
35
ignore_file :
@@ -50,12 +39,12 @@ inputs:
50
39
51
40
website_path :
52
41
required : true
53
- description : 你的网站内容的位置 (例如 . (根目录) 或 docs)
42
+ description : 你的网站内容的位置
54
43
default : " ./"
55
44
56
45
base_branch :
57
46
required : false
58
- description : 仓库主分支 (main,master 等)
47
+ description : 仓库主分支
59
48
default : main
60
49
61
50
debug :
You can’t perform that action at this time.
0 commit comments