File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ name: Deploy and Publish
77
88on :
99 push :
10- branches : [ '**' ]
10+ branches : [ master ]
1111
1212 # Allows you to run this workflow manually from the Actions tab
1313 workflow_dispatch :
@@ -22,10 +22,12 @@ jobs:
2222 - uses : actions/checkout@v2
2323 with :
2424 persist-credentials : false
25+
2526 - name : Setup Node.js
2627 uses : actions/setup-node@v1
2728 with :
2829 node-version : 14
30+
2931 - name : Install Semantic Release dependencies
3032 run : |
3133 sudo apt-get install bumpversion
@@ -36,11 +38,12 @@ jobs:
3638 npm install -g @semantic-release/github
3739 npm install -g @semantic-release/commit-analyzer
3840 npm install -g @semantic-release/release-notes-generator
41+
3942 - name : Publish to Git Releases and Tags
4043 env :
4144 GH_TOKEN : ${{ secrets.GH_TOKEN }}
4245 GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
4346 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
44- run : npx semantic-release --dry-run --branches gha_9926
47+ run : npx semantic-release # --verbosity=DEBUG --dry-run
4548
4649
You can’t perform that action at this time.
0 commit comments