Skip to content

Commit

Permalink
chore: fix cleanup script (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajyan authored Jun 5, 2023
1 parent d6946bd commit 4a91514
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,10 @@ jobs:
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add .
git commit -m "Clean preview for pr-${{ github.event.number }}"
git push
if ! git diff --cached --quiet; then
git commit -m "Clean preview for pr-${{ github.event.number }}"
git push
fi
```

<!-- action-docs-inputs -->
Expand Down

2 comments on commit 4a91514

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rajyan-bot
Copy link

@rajyan-bot rajyan-bot bot commented on 4a91514 Jun 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.