2019-02-24 20:10:16 +01:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- "node" # Latest stable
|
|
|
|
|
2019-02-24 19:58:30 +01:00
|
|
|
deploy:
|
|
|
|
provider: pages
|
|
|
|
skip-cleanup: true
|
2019-03-17 22:51:37 +01:00
|
|
|
target-branch: master
|
2019-02-24 19:58:30 +01:00
|
|
|
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
|
|
|
|
keep-history: true
|
|
|
|
local-dir: dist
|
|
|
|
on:
|
2019-03-17 22:51:37 +01:00
|
|
|
branch: develop
|
2019-02-24 19:58:30 +01:00
|
|
|
|
|
|
|
branches:
|
2019-05-23 17:45:00 +02:00
|
|
|
except:
|
|
|
|
master
|
2019-02-24 19:58:30 +01:00
|
|
|
|
|
|
|
script:
|
2019-02-24 20:10:16 +01:00
|
|
|
- npm run lint
|
2019-02-24 20:13:38 +01:00
|
|
|
- npm run build
|