mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-25 07:22:33 -05:00
Merge pull request #648 from rschamp/travis/fix-deploy
Build the vm so we can deploy it
This commit is contained in:
commit
a115d1d51e
1 changed files with 6 additions and 3 deletions
|
@ -19,15 +19,18 @@ jobs:
|
||||||
node_js: 6
|
node_js: 6
|
||||||
- stage: release
|
- stage: release
|
||||||
node_js: 6
|
node_js: 6
|
||||||
script: true
|
env: NPM_SCRIPT=build
|
||||||
before_deploy: npm --no-git-tag-version version $($(npm bin)/json -f package.json version)-prerelease.$(date +%s)
|
before_deploy:
|
||||||
|
- npm --no-git-tag-version version $($(npm bin)/json -f package.json version)-prerelease.$(date +%s)
|
||||||
|
- git config --global user.email $(git log --pretty=format:"%ae" -n1)
|
||||||
|
- git config --global user.name $(git log --pretty=format:"%an" -n1)
|
||||||
deploy:
|
deploy:
|
||||||
- provider: script
|
- provider: script
|
||||||
"on":
|
"on":
|
||||||
all_branches: true
|
all_branches: true
|
||||||
condition: $RELEASE_BRANCHES =~ $TRAVIS_BRANCH
|
condition: $RELEASE_BRANCHES =~ $TRAVIS_BRANCH
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
script: git config --global user.email $(git log --pretty=format:"%ae" -n1) && git config --global user.name $(git log --pretty=format:"%an" -n1) && npm run --silent deploy -- -x -r $GH_PAGES_REPO
|
script: npm run --silent deploy -- -x -r $GH_PAGES_REPO
|
||||||
- provider: npm
|
- provider: npm
|
||||||
"on":
|
"on":
|
||||||
all_branches: true
|
all_branches: true
|
||||||
|
|
Loading…
Reference in a new issue