Update scripts to use PULL_REQUEST_ID

This commit is contained in:
Owen Voke
2020-06-24 13:11:33 +01:00
committed by Marco Bonelli
parent 81d346f006
commit 5e958f6074
4 changed files with 7 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ MSG_NOT_MD='The file `%s` does not have a `.md` extension.\n'
PLATFORMS=$(ls pages/)
if [ "$CI" = "true" ] && [ "$GITHUB_REPOSITORY" = "tldr-pages/tldr" ] && [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
if [ "$CI" = "true" ] && [ "$GITHUB_REPOSITORY" = "tldr-pages/tldr" ] && [ "$PULL_REQUEST_ID" != "false" ]; then
check_diff
check_structure
else