2020-07-27 18:56:29 +02:00
|
|
|
language: node_js
|
|
|
|
|
|
|
|
node_js:
|
|
|
|
- "node"
|
|
|
|
|
|
|
|
git:
|
|
|
|
autocrlf: true
|
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
install:
|
2020-11-10 23:37:23 +01:00
|
|
|
- npm ci
|
2020-07-27 18:56:29 +02:00
|
|
|
|
|
|
|
script:
|
2020-11-10 23:37:23 +01:00
|
|
|
- npm run build-prod
|
2020-07-27 18:56:29 +02:00
|
|
|
|
2020-11-07 22:58:50 +01:00
|
|
|
before_deploy: "echo 'node_modules' > .gitignore"
|
2020-07-27 18:56:29 +02:00
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
skip_cleanup: true
|
|
|
|
github_token: $TRAVIS_ACCESS
|
|
|
|
keep_history: true
|
|
|
|
local_dir: .
|
|
|
|
name: BetterDiscord Deployment
|
|
|
|
target_branch: gh-pages
|
|
|
|
on:
|
|
|
|
branch: master
|