diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml index 6c280af..cf85b75 100644 --- a/.github/workflows/webpack.yml +++ b/.github/workflows/webpack.yml @@ -74,5 +74,4 @@ jobs: git config --global user.email "${{ env.CI_COMMIT_EMAIL }}" git remote set-url origin https://x-access-token:${{ steps.generate_token.outputs.token }}@github.com/DigiLive/mushroom-strategy.git git add dist - git commit -m "${{ env.CI_COMMIT_MESSAGE }}" - git push + git diff --quiet && git diff --staged --quiet || (git commit -m "${{ env.CI_COMMIT_MESSAGE }}" && git push)