Skip to content

Commit cf6acca

Browse files
committed
chore: update .github/workflows/ci.yml
1 parent fb072d5 commit cf6acca

File tree

1 file changed

+26
-20
lines changed

1 file changed

+26
-20
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,30 @@ jobs:
88
build:
99
runs-on: ubuntu-18.04
1010
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
1515

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

Comments
 (0)