Skip to content

Commit e2e34ec

Browse files
Sitemap Creator version 1.0.6 (#13)
1 parent 9a3d211 commit e2e34ec

File tree

5 files changed

+167
-138
lines changed

5 files changed

+167
-138
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ permissions:
9090
```yml
9191
name: 生成 Sitemap
9292
93-
# GitHub Action DuckDuckStudio/Sitemap_Creator 版本 1.0.5 示例工作流
93+
# GitHub Action DuckDuckStudio/Sitemap_Creator 版本 1.0.6 示例工作流
9494
# https://github.com/marketplace/actions/sitemap-creator-stable
9595
# Under the [GNU Affero General Public License v3.0](https://github.com/DuckDuckStudio/Sitemap_Creator/blob/main/LICENSE)
9696
@@ -110,7 +110,7 @@ jobs:
110110
111111
steps:
112112
- name: 更新网站地图
113-
uses: DuckDuckStudio/[email protected].5
113+
uses: DuckDuckStudio/[email protected].6
114114
with:
115115
location: "docs/sitemap.xml"
116116
basic_link: "https://duckduckstudio.github.io/Articles/#" # docsify 部署的
@@ -125,8 +125,10 @@ jobs:
125125
# token: ${{ github.token }}
126126
# timezone: "Asia/Shanghai"
127127
# update: "拉取请求"
128+
# author_name: "github-actions[bot]"
129+
# author_email: "41898282+github-actions[bot]@users.noreply.github.com"
128130
```
129131

130-
## 星星🌟
132+
## 星星 🌟
131133
如果您认为本项目对您有帮助,还请给本项目一个小小的 Star 。
132134
[![星标历史](https://api.star-history.com/svg?repos=DuckDuckStudio/Sitemap_Creator&type=Date)](https://star-history.com/#DuckDuckStudio/Sitemap_Creator&Date)

action.yml

+7-18
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,30 @@ branding:
66
color: yellow
77
icon: book
88

9-
keywords:
10-
[
11-
'sitemap',
12-
'website',
13-
'seo',
14-
'creator',
15-
'updater',
16-
'generator',
17-
'urls'
18-
]
19-
209
inputs:
2110
location:
2211
required: false
23-
description: 网站地图的存放位置 (例如 docs/sitemap.xml)
12+
description: 网站地图的存放位置
2413
default: "./sitemap.xml"
2514

2615
token:
2716
required: false
28-
description: 用于创建更新网站地图的拉取请求的 Token (不指定则使用 github.token)
17+
description: 用于创建更新网站地图的拉取请求的 Token
2918
default: ${{ github.token }}
3019

3120
timezone:
3221
required: false
33-
description: 设置生成时使用的时区 (不指定则使用 Asia/Shanghai (UTF+8))
22+
description: 设置生成时使用的时区
3423
default: "Asia/Shanghai"
3524

3625
basic_link:
3726
required: false
38-
description: 指向你网站的基础链接 (不指定则使用 GitHub Page 链接, 结尾不要带 / )
27+
description: 指向你网站的基础链接
3928
default: https://${{ github.event.repository.owner.login }}.github.io/${{ github.event.repository.name }}
4029

4130
file_type:
4231
required: false
43-
description: 网页文件的类型 (例如使用 docsify 部署的就是 md,可指定多个类型)
32+
description: 网页文件的类型
4433
default: "html,md"
4534

4635
ignore_file:
@@ -50,12 +39,12 @@ inputs:
5039

5140
website_path:
5241
required: true
53-
description: 你的网站内容的位置 (例如 . (根目录) 或 docs)
42+
description: 你的网站内容的位置
5443
default: "./"
5544

5645
base_branch:
5746
required: false
58-
description: 仓库主分支 (main,master 等)
47+
description: 仓库主分支
5948
default: main
6049

6150
debug:

0 commit comments

Comments
 (0)