Skip to content

Commit bbd5bd8

Browse files
committed
chore: update workflows config.
1 parent ca2e793 commit bbd5bd8

File tree

1 file changed

+22
-6
lines changed

1 file changed

+22
-6
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: GitHub Actions Build KKT
1+
name: CI
22
on:
33
push:
44
branches:
@@ -7,12 +7,28 @@ jobs:
77
build:
88
runs-on: ubuntu-18.04
99
steps:
10-
- uses: actions/checkout@master
11-
12-
- name: Setup Node
13-
uses: actions/setup-node@v1
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v2
1412
with:
15-
node-version: '12.x'
13+
node-version: 14
1614

1715
- run: npm install
1816
- run: npm run build
17+
18+
- name: Generate Contributors Images
19+
uses: jaywcjlove/github-action-contributors@main
20+
with:
21+
filter-author: (renovate\[bot\]|renovate-bot|dependabot\[bot\])
22+
output: build/CONTRIBUTORS.svg
23+
avatarSize: 42
24+
25+
- name: get tag version
26+
id: tag_version
27+
uses: jaywcjlove/[email protected]
28+
29+
- name: Deploy
30+
uses: peaceiris/actions-gh-pages@v3
31+
with:
32+
commit_message: ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
33+
github_token: ${{ secrets.GITHUB_TOKEN }}
34+
publish_dir: ./build

0 commit comments

Comments
 (0)