Skip to content

Commit 5bce184

Browse files
authored
Merge pull request Ciptex#57 from Ciptex/bump-axios-depencies
Update push.yml
2 parents 73ad48c + a8c263d commit 5bce184

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.github/workflows/push.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ name: Deploy to NPM
22
on:
33
push:
44
branches: [ master ]
5-
6-
# Allows you to run this workflow manually from the Actions tab
7-
workflow_dispatch:
8-
5+
96
jobs:
107
build:
118
runs-on: ubuntu-latest
@@ -31,10 +28,23 @@ jobs:
3128
uses: "phips28/gh-action-bump-version@master"
3229
with:
3330
tag-prefix: ''
31+
skip-tag: true
32+
skip-push: true
33+
skip-commit: true
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
- name: "cat package.json"
37-
run: cat ./package.json
36+
37+
- name: Push files and tag
38+
uses: Amraneze/[email protected]
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+
3848
- name: 'Output Step'
3949
env:
4050
NEW_TAG: ${{ steps.version-bump.outputs.newTag }}

0 commit comments

Comments
 (0)