Skip to content

Commit

Permalink
fix build_hf_space (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngxson committed Sep 25, 2024
1 parent b80dfdd commit 941d0dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/build_hf_space.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ cd _tmp_hf_space
./build.sh

echo ">>> push"
if [ -z "$(git status --porcelain)" ]; then
echo "nothing changed, skipping..."
exit 0
fi
git add -A
git commit -m "update"
git push
Expand Down

0 comments on commit 941d0dc

Please sign in to comment.