File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,29 +28,30 @@ jobs:
2828
2929 # Release
3030 - name : Create GitHub Release
31- if : github.event_name == 'push' && steps.gitversion.outputs.preReleaseLabel == ''
31+ if : steps.gitversion.outputs.preReleaseLabel == ''
3232 uses : actions/create-release@v1
3333 with :
3434 tag_name : ${{github.ref}}
35+ release_name : ${{github.ref}}
3536 env :
3637 GITHUB_TOKEN : ${{github.token}}
3738
3839 # Publish (release only)
3940 - name : Publish documentation
40- if : github.event_name == 'push' && steps.gitversion.outputs.preReleaseLabel == ''
41+ if : steps.gitversion.outputs.preReleaseLabel == ''
4142 uses : peaceiris/actions-gh-pages@v3
4243 with :
4344 github_token : ${{github.token}}
4445 force_orphan : true
4546 publish_dir : docs
4647 cname : typescript.typedrest.net
4748 - name : Connect to registry (npmjs.com)
48- if : github.event_name == 'push' && steps.gitversion.outputs.preReleaseLabel == ''
49+ if : steps.gitversion.outputs.preReleaseLabel == ''
4950 uses : actions/setup-node@v1
5051 with :
5152 registry-url : https://registry.npmjs.org
5253 - name : Publish packages (npmjs.com)
53- if : github.event_name == 'push' && steps.gitversion.outputs.preReleaseLabel == ''
54+ if : steps.gitversion.outputs.preReleaseLabel == ''
5455 run : npm publish --access public
5556 env :
5657 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments