Merge pull request #3425 from vjeux/add_files

[website] Support pushing new files
This commit is contained in:
Christopher Chedeau 2015-10-14 13:29:21 -07:00
commit 3f2199ddf0
1 changed files with 1 additions and 1 deletions

View File

@ -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