2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +03:00

Update Netlify Config (#857)

* test branch deploys

* maybe setting the base dir will prevent npm install

* bump netlify config

* bump travis config
This commit is contained in:
Jeff Sagal
2019-04-27 15:40:24 -07:00
committed by GitHub
parent efc5093207
commit 7db24bd615
2 changed files with 10 additions and 5 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
language: node_js
cache: npm
cache: yarn
node_js:
- node
- "8"
script:
- yarn test --coverage --coverageReporters=text-lcov | coveralls
+7 -2
View File
@@ -4,7 +4,7 @@
# “command” is your build command,
[build]
publish = "docs/.vuepress/dist"
command = "yarn build:docs"
command = "rm -rf node_modules && rm -rf package-lock.json && yarn && yarn build:docs"
# Deploy Preview context
#
@@ -12,8 +12,13 @@
# inherit these settings.
[context.deploy-preview]
publish = "docs/.vuepress/dist"
command = "yarn && yarn build:preview"
command = "rm -rf node_modules && rm -rf package-lock.json && yarn && yarn build:preview"
# Branch Deploy context: all deploys that are not from a pull/merge request or
# from the Production branch will inherit these settings.
[context.branch-deploy]
base = "/"
command = "rm -rf node_modules && rm -rf package-lock.json && yarn && yarn build:preview"
# Redirects
# @see https://www.netlify.com/docs/netlify-toml-reference/