Skip to content

Commit 3bfbca4

Browse files
authored
Add republish-guides-website to travis-build
1 parent 825fc05 commit 3bfbca4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Diff for: travis-build.sh

+11-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,14 @@ chmod 777 build-guide
88

99
./build-guide || EXIT_STATUS=$?
1010

11-
exit $EXIT_STATUS
11+
if [[ $EXIT_STATUS -ne 0 ]]; then
12+
echo "Build failed"
13+
exit $EXIT_STATUS
14+
fi
15+
16+
curl -O https://raw.githubusercontent.com/grails/grails-guides/master/travis/republish-guides-website.sh
17+
chmod 777 republish-guides-website.sh
18+
19+
./republish-guides-website.sh || EXIT_STATUS=$?
20+
21+
exit $EXIT_STATUS

0 commit comments

Comments
 (0)