8
8
build :
9
9
runs-on : ubuntu-18.04
10
10
steps :
11
- - uses : actions/checkout@v2
12
- - uses : actions/setup-node@v2
13
- with :
14
- node-version : 14
11
+ - uses : actions/checkout@v2
12
+ - uses : actions/setup-node@v2
13
+ with :
14
+ node-version : 14
15
15
16
- - run : mkdir -p build
17
- - run : cp -rp img 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 docker/sourcegraph.md --output build/sourcegraph.html
21
- - run : markdown-to-html -s docker/redis.md --output build/redis.html
22
- - run : markdown-to-html -s docker/rancher.md --output build/rancher.html
23
- - run : markdown-to-html -s docker/portainer.md --output build/portainer.html
24
- - run : markdown-to-html -s docker/nginx.md --output build/nginx.html
25
- - run : markdown-to-html -s docker/mysql.md --output build/mysql.html
26
- - run : markdown-to-html -s docker/mattermost.md --output build/mattermost.html
27
- - run : markdown-to-html -s docker/harbor.md --output build/harbor.html
28
- - run : markdown-to-html -s docker/gitlab.md --output build/gitlab.html
29
- - run : markdown-to-html -s docker/elasticsearch.md --output build/elasticsearch.html
30
- - run : markdown-to-html -s docker/seaweedfs/README.md --output build/seaweedfs.html
31
- - run : markdown-to-html -s docker/rocket.chat/README.md --output build/rocket.chat.html
16
+ - run : mkdir -p build
17
+ - run : cp -rp img 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 docker/sourcegraph.md --output build/sourcegraph.html
21
+ - run : markdown-to-html -s docker/redis.md --output build/redis.html
22
+ - run : markdown-to-html -s docker/rancher.md --output build/rancher.html
23
+ - run : markdown-to-html -s docker/portainer.md --output build/portainer.html
24
+ - run : markdown-to-html -s docker/nginx.md --output build/nginx.html
25
+ - run : markdown-to-html -s docker/mysql.md --output build/mysql.html
26
+ - run : markdown-to-html -s docker/mattermost.md --output build/mattermost.html
27
+ - run : markdown-to-html -s docker/harbor.md --output build/harbor.html
28
+ - run : markdown-to-html -s docker/gitlab.md --output build/gitlab.html
29
+ - run : markdown-to-html -s docker/elasticsearch.md --output build/elasticsearch.html
30
+ - run : markdown-to-html -s docker/seaweedfs/README.md --output build/seaweedfs.html
31
+ - run : markdown-to-html -s docker/rocket.chat/README.md --output build/rocket.chat.html
32
+
33
+ - name : Deploy
34
+ uses : peaceiris/actions-gh-pages@v3
35
+ with :
36
+ github_token : ${{ secrets.GITHUB_TOKEN }}
37
+ publish_dir : ./build
0 commit comments