30 lines
386 B
YAML
30 lines
386 B
YAML
language: node_js
|
|
|
|
node_js:
|
|
- "node"
|
|
|
|
git:
|
|
autocrlf: true
|
|
|
|
branches:
|
|
only:
|
|
- development
|
|
|
|
install:
|
|
- npm install
|
|
|
|
script:
|
|
- npm run deploy
|
|
- npm run test
|
|
- npm run lint
|
|
|
|
deploy:
|
|
provider: pages
|
|
skip_cleanup: true
|
|
github_token: $TRAVIS_ACCESS
|
|
keep_history: true
|
|
local_dir: .
|
|
name: BetterDiscord Deployment
|
|
target_branch: gh-pages
|
|
on:
|
|
branch: development |