File tree Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Expand file tree Collapse file tree 1 file changed +15
-13
lines changed Original file line number Diff line number Diff line change 1
- name : render readme
1
+ name : Convert README.md to HTML and Publish
2
2
3
- # Controls when the action will run
4
3
on :
5
4
push :
6
5
branches : master
@@ -12,17 +11,20 @@ jobs:
12
11
contents : write
13
12
id-token : write
14
13
steps :
15
- - uses : actions/checkout@v3
16
- - uses : actions/setup-node@v3
17
- with :
18
- node-version : 18
19
- registry-url : ' https://registry.npmjs.org'
14
+ - name : Checkout repo
15
+ uses : actions/checkout@v3
16
+
17
+ - name : Setup NodeJS
18
+ uses : actions/setup-node@v3
19
+ with :
20
+ node-version : 18
21
+ registry-url : ' https://registry.npmjs.org'
20
22
21
23
- name : Test Converts markdown text to HTML
22
24
uses : ./
23
- with :
24
- source : README-zh.md
25
- output : index.html
26
- style : ' body { margin: 0; }'
27
- github-corners : https://github.com/jaywcjlove/markdown-to-html-cli
28
- favicon : data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🌐</text></svg>
25
+ with :
26
+ source : README-zh.md
27
+ output : index.html
28
+ style : ' body { margin: 0; }'
29
+ github-corners : https://github.com/vsouza/awesome-ios
30
+ favicon : data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🌐</text></svg>
You can’t perform that action at this time.
0 commit comments