@@ -65,51 +65,51 @@ jobs:
65
65
- run : cp -rp core/dist/*js website/build
66
66
- run : cp -rp core/dist/*css website/build
67
67
68
- # - name: Is a tag created auto?
69
- # id: create_tag
70
- # uses: jaywcjlove/[email protected]
71
- # with:
72
- # package-path: ./core/package.json
73
-
74
- # - name: get tag version
75
- # id: tag_version
76
- # uses: jaywcjlove/[email protected]
77
-
78
- # - name: Deploy
79
- # uses: peaceiris/actions-gh-pages@v3
80
- # with:
81
- # commit_message: ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
82
- # github_token: ${{ secrets.GITHUB_TOKEN }}
83
- # publish_dir: ./website/build
84
-
85
- # - name: Generate Changelog
86
- # id: changelog
87
- # uses: jaywcjlove/[email protected]
88
- # if: steps.create_tag.outputs.successful
89
- # with:
90
- # head-ref: ${{ steps.create_tag.outputs.version }}
91
- # filter-author: (小弟调调™|Renovate Bot|renovate-bot)
92
- # filter: '[R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
93
-
94
- # - name: Create Release
95
- # uses: ncipollo/release-action@v1
96
- # if: steps.create_tag.outputs.successful
97
- # with:
98
- # token: ${{ secrets.GITHUB_TOKEN }}
99
- # name: ${{ steps.changelog.outputs.tag }}
100
- # tag: ${{ steps.changelog.outputs.tag }}
101
- # body: |
102
- # Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/uiwjs/react-codemirror/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
103
- # Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
68
+ - name : Is a tag created auto?
69
+ id : create_tag
70
+ uses :
jaywcjlove/[email protected]
71
+ with :
72
+ package-path : ./core/package.json
73
+
74
+ - name : get tag version
75
+ id : tag_version
76
+ uses :
jaywcjlove/[email protected]
77
+
78
+ - name : Deploy
79
+ uses : peaceiris/actions-gh-pages@v3
80
+ with :
81
+ commit_message : ${{steps.tag_version.outputs.tag}} ${{ github.event.head_commit.message }}
82
+ github_token : ${{ secrets.GITHUB_TOKEN }}
83
+ publish_dir : ./website/build
84
+
85
+ - name : Generate Changelog
86
+ id : changelog
87
+ uses :
jaywcjlove/[email protected]
88
+ if : steps.create_tag.outputs.successful
89
+ with :
90
+ head-ref : ${{ steps.create_tag.outputs.version }}
91
+ filter-author : (小弟调调™|Renovate Bot|renovate-bot)
92
+ filter : ' [R|r]elease[d]\s+[v|V]\d(\.\d+){0,2}'
93
+
94
+ - name : Create Release
95
+ uses : ncipollo/release-action@v1
96
+ if : steps.create_tag.outputs.successful
97
+ with :
98
+ token : ${{ secrets.GITHUB_TOKEN }}
99
+ name : ${{ steps.changelog.outputs.tag }}
100
+ tag : ${{ steps.changelog.outputs.tag }}
101
+ body : |
102
+ Documentation ${{ steps.changelog.outputs.tag }}: https://raw.githack.com/uiwjs/react-codemirror/${{ steps.changelog.outputs.gh-pages-short-hash }}/index.html
103
+ Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
104
104
105
- # ${{ steps.changelog.outputs.changelog }}
105
+ ${{ steps.changelog.outputs.changelog }}
106
106
107
- # # - run: git status
108
- # # - run: npm install @jsdevtools/npm-publish -g
109
- # # - run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./core/package.json
107
+ # - run: git status
108
+ # - run: npm install @jsdevtools/npm-publish -g
109
+ # - run: npm-publish --token="${{ secrets.NPM_TOKEN }}" ./core/package.json
110
110
111
- # - name: 📦 @uiw/react-layout publish to NPM
112
- # uses: JS-DevTools/npm-publish@v1
113
- # with:
114
- # token: ${{ secrets.NPM_TOKEN }}
115
- # package: ./core/package.json
111
+ - name : 📦 @uiw/react-layout publish to NPM
112
+ uses : JS-DevTools/npm-publish@v1
113
+ with :
114
+ token : ${{ secrets.NPM_TOKEN }}
115
+ package : ./core/package.json
0 commit comments