diff --git a/website/publish.sh b/website/publish.sh index dfb10e772..7d34e1875 100755 --- a/website/publish.sh +++ b/website/publish.sh @@ -24,8 +24,8 @@ cp -R build/react-native/* ../../react-native-gh-pages/ rm -Rf build/ cd ../../react-native-gh-pages git status +git add -A . if ! git diff-index --quiet HEAD --; then - git add -A . git commit -m "update website" git push origin gh-pages fi