mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -05:00
Actually do the deploy
Now that the release stage is only created for master and develop, allow the deploy to run on any branch. This way we can control which branches get deployed from the stage condition alone.
This commit is contained in:
parent
f3404f4275
commit
feb90f1f8c
1 changed files with 4 additions and 0 deletions
|
@ -29,10 +29,14 @@ jobs:
|
||||||
- git config --global user.name $(git log --pretty=format:"%an" -n1)
|
- git config --global user.name $(git log --pretty=format:"%an" -n1)
|
||||||
deploy:
|
deploy:
|
||||||
- provider: npm
|
- provider: npm
|
||||||
|
on:
|
||||||
|
all_branches: true
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
email: $NPM_EMAIL
|
email: $NPM_EMAIL
|
||||||
api_key: $NPM_TOKEN
|
api_key: $NPM_TOKEN
|
||||||
- provider: script
|
- provider: script
|
||||||
|
on:
|
||||||
|
all_branches: true
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
script: npm run --silent deploy -- -x -r $GH_PAGES_REPO
|
script: npm run --silent deploy -- -x -r $GH_PAGES_REPO
|
||||||
stages:
|
stages:
|
||||||
|
|
Loading…
Reference in a new issue