We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 032449c commit 1a48ef3Copy full SHA for 1a48ef3
2 files changed
.travis.yml
@@ -5,3 +5,11 @@ xcode_sdk: iphonesimulator8.1
5
install:
6
- npm install
7
- npm test
8
+
9
+# Automatically publish the website
10
+script: ./website/setup.sh; ./website/publish.sh
11
+env:
12
+ - secure: "g8Xjbslq4R+3oLVgBvXM5QhiJ+7q+H+dH4+sXReyyZ64M5gf32U7oOjQNVkdx79dnGFc6a619otGsX4RiEkQlkiR+4uCgJUIgPwN4YFCIgYu4Z/0FnbbRu5yyywh5zv4WwGmAtMkgGztoMBnps5gCiPUM/RGIqwVk0Ghbmh5c2k="
13
+branches:
14
+ only:
15
+ - master
website/setup.sh
@@ -0,0 +1,7 @@
1
+cd ../../
2
+git clone git@github.com:facebook/react-native.git react-native-gh-pages
3
+cd react-native-gh-pages
4
+git checkout origin/gh-pages
+git checkout -b gh-pages
+git push --set-upstream origin gh-pages
+cd ../react-native/website
0 commit comments