File tree Expand file tree Collapse file tree 2 files changed +39
-5
lines changed Expand file tree Collapse file tree 2 files changed +39
-5
lines changed Original file line number Diff line number Diff line change 1
- name : build
1
+ name : CI
2
2
on :
3
3
push :
4
4
branches :
15
15
16
16
- run : mkdir -p build
17
17
- 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
21
40
22
41
- name : Deploy
23
42
uses : peaceiris/actions-gh-pages@v3
Original file line number Diff line number Diff line change 1
-
2
1
Shell Tutorial
3
2
===
4
3
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
+
5
6
最近需要写一个脚本管理服务,花了两天时间学习了一下shell脚本,记录我的学习笔记。
6
7
7
8
## 目录
@@ -1401,3 +1402,17 @@ echo "输入的两个数字之和为 $? !"
1401
1402
| $@ | 与$* 相同,但是使用时加引号,并在引号中返回每个参数。 |
1402
1403
| $- | 显示Shell使用的当前选项,与set命令功能相同。 |
1403
1404
| $? | 显示最后命令的退出状态。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.
You can’t perform that action at this time.
0 commit comments