Explorar o código

Travis CI: Skip deployment phase on PRs

Jan Holthuis %!s(int64=4) %!d(string=hai) anos
pai
achega
0854eee606
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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