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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
.travis.yml
|
|
@ -41,11 +41,13 @@ deploy: |
|
|
|
- provider: script |
|
|
|
script: tools/cd.sh travis-${TRAVIS_BUILD_NUMBER} |
|
|
|
on: |
|
|
|
repo: chakki-works/doccano |
|
|
|
branch: master |
|
|
|
|
|
|
|
- provider: script |
|
|
|
script: tools/cd.sh ${TRAVIS_TAG} |
|
|
|
on: |
|
|
|
repo: chakki-works/doccano |
|
|
|
tags: true |
|
|
|
|
|
|
|
- provider: pages |
|
|
@ -53,4 +55,5 @@ deploy: |
|
|
|
github_token: $GITHUB_TOKEN |
|
|
|
local_dir: site |
|
|
|
on: |
|
|
|
repo: chakki-works/doccano |
|
|
|
branch: master |