kou commented on a change in pull request #9: ARROW-4473: [Website] Support 
test site deployment (take 2)
URL: https://github.com/apache/arrow-site/pull/9#discussion_r312652913
 
 

 ##########
 File path: build-and-deploy.sh
 ##########
 @@ -0,0 +1,52 @@
+#!/bin/bash
+set -ev
+
+if [ "${TRAVIS_BRANCH}" = "master" ] && [ "${TRAVIS_PULL_REQUEST}" = "false" 
]; then
+
+    if [ -z "${GITHUB_PAT}" ]; then
+        # Don't build because we can't publish
+        echo "To publish the site, you must set a GITHUB_PAT at"
+        echo "https://travis-ci.org/"${TRAVIS_REPO_SLUG}"/settings";
 
 Review comment:
   We can simplify this to `"https://...${TRAVIS_REPO_SLUG}/..."` (no `"` 
around `${TRAVIS_REPO_SLUG}`).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to