Browse Source

Only attempt deployments on upstream repository

pull/370/head
Clemens Wolff 5 years ago
parent
commit
76a25d4e2d
1 changed files with 3 additions and 0 deletions
  1. 3
      .travis.yml

3
.travis.yml

@ -41,11 +41,13 @@ deploy:
- provider: script - provider: script
script: tools/cd.sh travis-${TRAVIS_BUILD_NUMBER} script: tools/cd.sh travis-${TRAVIS_BUILD_NUMBER}
on: on:
repo: chakki-works/doccano
branch: master branch: master
- provider: script - provider: script
script: tools/cd.sh ${TRAVIS_TAG} script: tools/cd.sh ${TRAVIS_TAG}
on: on:
repo: chakki-works/doccano
tags: true tags: true
- provider: pages - provider: pages
@ -53,4 +55,5 @@ deploy:
github_token: $GITHUB_TOKEN github_token: $GITHUB_TOKEN
local_dir: site local_dir: site
on: on:
repo: chakki-works/doccano
branch: master branch: master
Loading…
Cancel
Save