Skip to content

Commit

Permalink
fix: added back auto commit for release minification
Browse files Browse the repository at this point in the history
  • Loading branch information
matubu committed Jul 30, 2023
1 parent 7404097 commit daedf32
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ jobs:
- run: npm audit signatures
- run: npm run build

- name: Auto commit
run: |
git add .
git -c user.name='minify-bot' -c user.email='speed-highlight@protonmail.com' commit -m "Auto minify" || exit 0
git push
env:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Release
run: npx semantic-release
env:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/git",
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
]
},
Expand Down

0 comments on commit daedf32

Please sign in to comment.