Skip to content

Commit 7e2117a

Browse files
charpenihramos
authored andcommitted
Add check for index.html on CircleCI (facebook#435)
1 parent b70eb1f commit 7e2117a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: .circleci/config.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,14 @@ jobs:
5252
at: ~/react-native-website
5353
- run: yarn ci-check
5454
- run: yarn test
55+
- run:
56+
name: Check for missing index.html (build errors)
57+
command: |
58+
if [ ! -f build/react-native/index.html ]; then
59+
exit 1;
60+
fi
5561
56-
# Deploys website
62+
# Deploys website
5763
deploy_website:
5864
<<: *defaults
5965
working_directory: ~/react-native-website/website
@@ -88,7 +94,7 @@ workflows:
8894
- test_website:
8995
requires:
9096
- checkout_code
91-
97+
9298
# If we are on master, deploy docs
9399
deploy:
94100
jobs:

0 commit comments

Comments
 (0)