File tree Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Expand file tree Collapse file tree 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,7 @@ name: Deploy to NPM
2
2
on :
3
3
push :
4
4
branches : [ master ]
5
-
6
- # Allows you to run this workflow manually from the Actions tab
7
- workflow_dispatch :
8
-
5
+
9
6
jobs :
10
7
build :
11
8
runs-on : ubuntu-latest
@@ -31,10 +28,23 @@ jobs:
31
28
uses : " phips28/gh-action-bump-version@master"
32
29
with :
33
30
tag-prefix : ' '
31
+ skip-tag : true
32
+ skip-push : true
33
+ skip-commit : true
34
34
env :
35
35
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
- - name : " cat package.json"
37
- run : cat ./package.json
36
+
37
+ - name : Push files and tag
38
+
39
+ with :
40
+ repository : ${{ github.repository }}
41
+ branch_name : ${{ github.ref_name }}
42
+ github_token : ${{ secrets.BOT_PAT_TOKEN }}
43
+ commit_message : ' CI: build version ${{ steps.version-bump.outputs.newTag }} [actions skip]'
44
+ tag_version : ${{ steps.version-bump.outputs.newTag }}
45
+ files_to_commit : ' package.json'
46
+ create_tag : true
47
+
38
48
- name : ' Output Step'
39
49
env :
40
50
NEW_TAG : ${{ steps.version-bump.outputs.newTag }}
You can’t perform that action at this time.
0 commit comments