Skip to content

Commit 3f8c976

Browse files
committed
fix(ci): fix travis references
1 parent a8566de commit 3f8c976

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/ci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ echo "Undoing changes to autogenerated files"
1515
git checkout -- src/data/examples.json
1616
git checkout -- src/pages/postgraphile/usage-*.md
1717

18-
if [ "$GITHUB_TOKEN" != "" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "develop" ]; then
18+
if [ "$GITHUB_TOKEN" != "" ] && [ "$GITHUB_BASE_REF" != "" ] && [ "$GITHUB_REF" == "ref/heads/develop" ]; then
1919
echo "GITHUB_TOKEN is specified"
2020

2121
# git diff-index only looks at modified timestamps; this update-index call

0 commit comments

Comments
 (0)