Skip to content

Commit afe9de4

Browse files
committed
website: add dark theme.
1 parent e62fddb commit afe9de4

File tree

2 files changed

+39
-5
lines changed

2 files changed

+39
-5
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build
1+
name: CI
22
on:
33
push:
44
branches:
@@ -15,9 +15,28 @@ jobs:
1515

1616
- run: mkdir -p build
1717
- run: cp -rp example build
18-
- run: npm i markdown-to-html-cli -g
19-
- run: markdown-to-html --output build/index.html
20-
- run: markdown-to-html -s shell-regex.md --output build/shell-regex.html
18+
# - run: npm i markdown-to-html-cli -g
19+
# - run: markdown-to-html --output build/index.html
20+
# - run: markdown-to-html -s shell-regex.md --output build/shell-regex.html
21+
22+
- name: Generate Contributors Images
23+
uses: jaywcjlove/github-action-contributors@main
24+
with:
25+
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
26+
output: build/CONTRIBUTORS.svg
27+
avatarSize: 42
28+
29+
- name: Converts Markdown to HTML
30+
uses: jaywcjlove/markdown-to-html-cli@main
31+
with:
32+
source: README.md
33+
output: build/index.html
34+
35+
- name: Converts Markdown to HTML
36+
uses: jaywcjlove/markdown-to-html-cli@main
37+
with:
38+
source: shell-regex.md
39+
output: build/shell-regex.html
2140

2241
- name: Deploy
2342
uses: peaceiris/actions-gh-pages@v3

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
21
Shell Tutorial
32
===
43

4+
[![CI](https://github.com/jaywcjlove/shell-tutorial/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/shell-tutorial/actions/workflows/ci.yml)
5+
56
最近需要写一个脚本管理服务,花了两天时间学习了一下shell脚本,记录我的学习笔记。
67

78
## 目录
@@ -1401,3 +1402,17 @@ echo "输入的两个数字之和为 $? !"
14011402
| $@ | 与$*相同,但是使用时加引号,并在引号中返回每个参数。 |
14021403
| $- | 显示Shell使用的当前选项,与set命令功能相同。 |
14031404
| $? | 显示最后命令的退出状态。0表示没有错误,其他任何值表明有错误。 |
1405+
1406+
## Contributors
1407+
1408+
As always, thanks to our amazing contributors!
1409+
1410+
<a href="https://github.com/jaywcjlove/shell-tutorial/graphs/contributors">
1411+
<img src="https://jaywcjlove.github.io/shell-tutorial/CONTRIBUTORS.svg" />
1412+
</a>
1413+
1414+
Made with [action-contributors](https://github.com/jaywcjlove/github-action-contributors).
1415+
1416+
## License
1417+
1418+
Licensed under the MIT License.

0 commit comments

Comments
 (0)