mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-03-14 01:09:51 -04:00
Allow condition alone to control release
This commit is contained in:
parent
3431fb39c8
commit
3f53c3fd5c
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@ jobs:
|
|||
deploy:
|
||||
- provider: script
|
||||
on:
|
||||
all_branches: true
|
||||
condition: $RELEASE_BRANCHES =~ $TRAVIS_BRANCH
|
||||
skip_cleanup: true
|
||||
script:
|
||||
|
@ -32,5 +33,6 @@ jobs:
|
|||
- npm run --silent deploy -- -x -r $GH_PAGES_REPO
|
||||
- provider: npm
|
||||
on:
|
||||
all_branches: true
|
||||
condition: $RELEASE_BRANCHES =~ $TRAVIS_BRANCH
|
||||
api_key: $NPM_TOKEN
|
||||
|
|
Loading…
Reference in a new issue