Browse Source

Merge pull request #370 from CatalystCode/upstream-deploy

Bugfix/Only attempt deployments on upstream repository
pull/375/head
Hiroki Nakayama 5 years ago
committed by GitHub
parent
commit
3ee2518970
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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