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:
Ray Schamp 2018-05-09 16:47:06 -04:00 committed by GitHub
parent f3404f4275
commit feb90f1f8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,10 +29,14 @@ jobs:
- git config --global user.name $(git log --pretty=format:"%an" -n1)
deploy:
- provider: npm
on:
all_branches: true
skip_cleanup: true
email: $NPM_EMAIL
api_key: $NPM_TOKEN
- provider: script
on:
all_branches: true
skip_cleanup: true
script: npm run --silent deploy -- -x -r $GH_PAGES_REPO
stages: