@@ -47,22 +47,26 @@ jobs:
47
47
output : build/CONTRIBUTORS.svg
48
48
avatarSize : 42
49
49
50
+ - name : Create Tag
51
+ id : create_tag
52
+ uses :
jaywcjlove/[email protected]
53
+ with :
54
+ package-path : ./package.json
55
+
56
+ - name : get tag version
57
+ id : tag_version
58
+ uses :
jaywcjlove/[email protected]
59
+
50
60
- name : Build and Deploy
51
61
uses : peaceiris/actions-gh-pages@v3
52
62
with :
63
+ commit_message : ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
53
64
github_token : ${{ secrets.GITHUB_TOKEN }}
54
- # deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
55
65
publish_dir : ./build
56
66
57
- - name : Is a tag created auto?
58
- id : create_tag
59
- uses :
jaywcjlove/[email protected]
60
- with :
61
- package-path : ./package.json
62
-
63
67
- name : Generate Changelog
64
68
id : changelog
65
- uses : jaywcjlove/changelog-generator@v1.4.8
69
+ uses : jaywcjlove/changelog-generator@v1.5.3
66
70
with :
67
71
token : ${{ secrets.GITHUB_TOKEN }}
68
72
filter-author : (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
83
87
body : |
84
88
[](https://uiwjs.github.io/npm-unpkg/#/pkg/hotkeys-js@${{steps.changelog.outputs.version}}/file/README.md) [](https://bundlephobia.com/result?p=hotkeys-js@${{steps.changelog.outputs.version}}) [](https://www.npmjs.com/package/hotkeys-js)
85
89
90
+ Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/jaywcjlove/hotkeys/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
91
+ Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
92
+
86
93
```bash
87
94
npm i hotkeys-js@${{steps.changelog.outputs.version}}
88
95
```
89
96
90
- ${{ steps.changelog.outputs.compareurl }}
91
97
${{ steps.changelog.outputs.changelog }}
0 commit comments