Skip to content

Commit cab2e0d

Browse files
Merge pull request RustPython#250 from RustPython/fix-deploymnet
Limit the deployment only to the specific build job
2 parents 6d0a25f + 7c8ebee commit cab2e0d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ matrix:
6969
if: branch = release
7070
env:
7171
- REGULAR_TEST=false
72+
- DEPLOY_DOC=true
7273
- name: WASM online demo
7374
language: rust
7475
rust: nightly
@@ -84,6 +85,7 @@ matrix:
8485
if: branch = release
8586
env:
8687
- REGULAR_TEST=false
88+
- DEPLOY_DEMO=true
8789
allow_failures:
8890
- rust: nightly
8991
env: REGULAR_TEST=true
@@ -99,6 +101,7 @@ deploy:
99101
keep-history: true
100102
on:
101103
branch: release
104+
condition: $DEPLOY_DOC=true
102105
- provider: pages
103106
repo: RustPython/demo
104107
target-branch: master
@@ -109,3 +112,4 @@ deploy:
109112
keep-history: true
110113
on:
111114
branch: release
115+
condition: $DEPLOY_DEMO=true

0 commit comments

Comments
 (0)