@@ -67,24 +67,28 @@ jobs:
6767 - run : cp -rp core/dist/*js website/build
6868 - run : cp -rp core/dist/*css website/build
6969
70+ - name : Is a tag created auto?
71+ id : create_tag
72+ uses : jaywcjlove/create-tag-action@v1.3.6
73+ with :
74+ package-path : ./core/package.json
75+
76+ - name : get tag version
77+ id : tag_version
78+ uses : jaywcjlove/changelog-generator@v1.5.0
79+
7080 - name : Deploy
7181 uses : peaceiris/actions-gh-pages@v3
7282 with :
83+ commit_message : ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
7384 github_token : ${{ secrets.GITHUB_TOKEN }}
7485 publish_dir : ./website/build
7586
76- - name : Is a tag created auto?
77- id : create_tag
78- uses : jaywcjlove/create-tag-action@v1.3.5
79- with :
80- package-path : ./core/package.json
81-
8287 - name : Generate Changelog
8388 id : changelog
84- uses : jaywcjlove/changelog-generator@v1.4.8
89+ uses : jaywcjlove/changelog-generator@v1.5.0
8590 if : steps.create_tag.outputs.successful
8691 with :
87- token : ${{ secrets.GITHUB_TOKEN }}
8892 head-ref : ${{ steps.create_tag.outputs.version }}
8993 filter-author : (小弟调调™|Renovate Bot|renovate-bot)
9094 filter : ' [R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
97101 name : ${{ steps.changelog.outputs.tag }}
98102 tag : ${{ steps.changelog.outputs.tag }}
99103 body : |
100-
101- ${{ steps.changelog.outputs.compareurl }}
104+ Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/uiwjs/react-codemirror/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
105+ Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
102106
103107 ${{ steps.changelog.outputs.changelog }}
104108
0 commit comments