Merge pull request #14 from commons-stack/autodeploy
add autodeploy travis yaml
This commit is contained in:
commit
76a993d9bd
|
|
@ -0,0 +1,15 @@
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "10"
|
||||||
|
install:
|
||||||
|
- yarn
|
||||||
|
script:
|
||||||
|
- yarn run build
|
||||||
|
deploy:
|
||||||
|
provider: pages
|
||||||
|
skip-cleanup: true
|
||||||
|
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
|
||||||
|
keep-history: true
|
||||||
|
local-dir: build
|
||||||
|
on:
|
||||||
|
branch: master
|
||||||
Loading…
Reference in New Issue