Skip to content

Commit

Permalink
fix deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
ceceppa committed Mar 21, 2024
1 parent cff0878 commit 7336605
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/addon-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,12 @@ jobs:
git add .
git commit -m "Update addon files"
git push -f origin main
uncommitted=$(git status --porcelain | grep -E "^( M |A )")
if [[ -z "$uncommitted" ]]; then
echo "No changes to commit"
exit 0
fi
git push origin main

0 comments on commit 7336605

Please sign in to comment.