Skip to content

Commit

Permalink
deploy.yml perfect auto_commit workflow v1.1
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions <github-actions@github.com>
  • Loading branch information
github-actions committed Jan 30, 2024
1 parent 1be5fac commit 795d6f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Commit changes
# if: steps.check_changes.outputs.stdout == 'Files have changed'
run: |
if git diff --exit-code; then return; else git config user.name github-actions
if git diff --exit-code; then exit 0; else git config user.name github-actions
git config user.email github-actions@github.com
git add README.md
git commit -m "<Actions>:🚀 Push file while $web_version changed"
Expand Down

0 comments on commit 795d6f2

Please sign in to comment.