소스 검색

Travis CI: Skip deployment phase on PRs

Jan Holthuis 4 년 전
부모
커밋
0854eee606
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -30,7 +30,7 @@ jobs:
       - SKIP=check-executables-have-shebangs
     - name: "Ubuntu / Python 3.7"
       stage: Deployment
-      if: branch = master OR tag IS present
+      if: type != pull_request AND (branch = master OR tag IS present)
       python: 3.7
       before_deploy:
       - touch html/.nojekyll