Skip to content

Commit 56aeb8c

Browse files
committed
Test travis condition, will not actually push because of bad token
1 parent 83f05c6 commit 56aeb8c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ matrix:
6666
cache: cargo
6767
script:
6868
- cargo doc --no-deps --all
69-
if: branch = release
69+
if: branch = fix-deployment-again-test
7070
env:
7171
- REGULAR_TEST=false
7272
- DEPLOY_DOC=true
@@ -82,7 +82,7 @@ matrix:
8282
- cd wasm/demo
8383
- npm install
8484
- npm run dist
85-
if: branch = release
85+
if: branch = fix-deployment-again-test
8686
env:
8787
- REGULAR_TEST=false
8888
- DEPLOY_DEMO=true
@@ -97,19 +97,19 @@ deploy:
9797
local-dir: target/doc
9898
skip-cleanup: true
9999
# Set in the settings page of your repository, as a secure variable
100-
github-token: $WEBSITE_GITHUB_TOKEN
100+
github-token: $BAD_TOKEN_DO_NOT_PUSH
101101
keep-history: true
102102
on:
103-
branch: release
103+
branch: fix-deployment-again-test
104104
condition: $DEPLOY_DOC = true
105105
- provider: pages
106106
repo: RustPython/demo
107107
target-branch: master
108108
local-dir: wasm/demo/dist
109109
skip-cleanup: true
110110
# Set in the settings page of your repository, as a secure variable
111-
github-token: $WEBSITE_GITHUB_TOKEN
111+
github-token: $BAD_TOKEN_DO_NOT_PUSH
112112
keep-history: true
113113
on:
114-
branch: release
114+
branch: fix-deployment-again-test
115115
condition: $DEPLOY_DEMO = true

0 commit comments

Comments
 (0)