@@ -13,44 +13,43 @@ jobs:
13
13
with :
14
14
node-version : 14
15
15
16
- - name : Generate Changelog
17
- id : changelog
18
- uses :
jaywcjlove/[email protected]
19
- with :
20
- token : ${{ secrets.GITHUB_TOKEN }}
21
- filter-author : (小弟调调™|Renovate Bot)
22
- filter : (^[\s]+?[R|r]elease)|(^[R|r]elease)
16
+ - run : npm install
17
+ - run : npm run build
18
+ - run : npm run dash
19
+ - run : rm -rf .deploy/linux-command.docset
23
20
24
21
- name : Generate Contributors Images
25
22
uses : jaywcjlove/github-action-contributors@main
26
23
with :
27
24
filter-author : (renovate\[bot\]|renovate-bot|dependabot\[bot\])
28
- output : CONTRIBUTORS.svg
25
+ output : .deploy/ CONTRIBUTORS.svg
29
26
avatarSize : 42
30
27
31
- - run : npm install
32
- - run : npm run build
33
- - run : npm run dash
34
- - run : rm -rf .deploy/linux-command.docset
35
- - run : cp -rp CONTRIBUTORS.svg .deploy/
28
+ - name : Create Tag
29
+ id : create_tag
30
+ uses : jaywcjlove/[email protected]
31
+ with :
32
+ package-path : ./package.json
36
33
37
- - run : npm install @jsdevtools/npm-publish -g
38
- - run : npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
34
+ - name : get tag version
35
+ id : tag_version
36
+ uses :
jaywcjlove/[email protected]
39
37
40
38
- name : Deploy
41
39
uses : peaceiris/actions-gh-pages@v3
42
40
with :
41
+ commit_message : ' [${{steps.tag_version.outputs.tag}}] ${{ github.event.head_commit.message }}'
43
42
github_token : ${{ secrets.GITHUB_TOKEN }}
44
43
publish_dir : ./.deploy
45
44
user_name : github-actions[bot]
46
45
user_email : github-actions[bot]@users.noreply.github.com
47
-
48
- - name : Create Tag
49
- id : create_tag
50
- uses : jaywcjlove/create-tag-action @v1.3.5
46
+
47
+ - name : Generate Changelog
48
+ id : changelog
49
+ uses : jaywcjlove/changelog-generator @v1.5.0
51
50
with :
52
- token : ${{ secrets.GITHUB_TOKEN }}
53
- package-path : ./package.json
51
+ filter-author : (小弟调调™)
52
+ filter : (^[\s]+?[R|r]elease)|(^[R|r]elease)
54
53
55
54
- name : Create Release
56
55
uses : ncipollo/release-action@v1
68
67
69
68
${{ steps.changelog.outputs.compareurl }}
70
69
71
- ${{ steps.changelog.outputs.changelog }}
70
+ ${{ steps.changelog.outputs.changelog }}
71
+
72
+
73
+ Document uiw@${{ steps.changelog.outputs.tag }}:
74
+ https://raw.githack.com/jaywcjlove/linux-command/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
75
+
76
+ - run : npm install @jsdevtools/npm-publish -g
77
+ - run : npm-publish --token="${{ secrets.NPM_TOKEN }}" ./package.json
0 commit comments