-
Notifications
You must be signed in to change notification settings - Fork 109
40 lines (38 loc) · 991 Bytes
/
generator.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: generator
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: generat chinaese readme
uses: eryajf/yaml-readme@master
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
with:
pattern: 'items/*/*.yaml'
template: 'template/README.tpl'
output: 'README.md'
username: eryajf
org: eryajf
repo: awesome-ops
sortby: '!zh'
groupby: kind
header: false
- name: generat english readme
uses: eryajf/yaml-readme@master
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
with:
pattern: 'items/*/*.yaml'
username: eryajf
org: eryajf
repo: awesome-ops
sortby: '!zh'
groupby: kind
header: false
template: 'template/README-en.tpl'
output: 'resources/README-en.md'