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
22on :
33 push :
44 branches :
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
Original file line number Diff line number Diff line change 1-
21Shell 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.
You can’t perform that action at this time.
0 commit comments