Merge pull request #3425 from vjeux/add_files
[website] Support pushing new files
This commit is contained in:
commit
3f2199ddf0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue