2020-07-24 06:07:50 +02:00
|
|
|
language: node_js
|
|
|
|
|
|
|
|
node_js:
|
|
|
|
- "node"
|
|
|
|
|
2020-07-26 11:34:38 +02:00
|
|
|
git:
|
|
|
|
autocrlf: true
|
|
|
|
|
2020-07-24 06:07:50 +02:00
|
|
|
branches:
|
|
|
|
only:
|
2020-07-30 21:55:00 +02:00
|
|
|
- development
|
2020-07-24 06:07:50 +02:00
|
|
|
|
|
|
|
install:
|
2020-10-25 00:30:11 +02:00
|
|
|
- npm ci
|
2020-07-24 06:07:50 +02:00
|
|
|
|
|
|
|
script:
|
2020-10-25 02:10:46 +02:00
|
|
|
- npm run lint-prod
|
|
|
|
- npm run test-prod
|
2020-07-26 11:37:11 +02:00
|
|
|
- npm run deploy
|
2020-07-24 06:07:50 +02:00
|
|
|
|
2020-08-16 07:40:46 +02:00
|
|
|
before_deploy: "echo 'node_modules' > .gitignore"
|
2020-07-24 06:07:50 +02:00
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
skip_cleanup: true
|
|
|
|
github_token: $TRAVIS_ACCESS
|
|
|
|
keep_history: true
|
2020-07-26 11:34:38 +02:00
|
|
|
local_dir: .
|
2020-07-24 06:07:50 +02:00
|
|
|
name: BetterDiscord Deployment
|
2020-07-30 21:55:00 +02:00
|
|
|
target_branch: gh-pages-development
|
2020-07-24 07:01:15 +02:00
|
|
|
on:
|
2020-07-30 21:55:00 +02:00
|
|
|
branch: development
|