mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +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:
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
cache: npm
|
cache: yarn
|
||||||
|
|
||||||
node_js:
|
node_js:
|
||||||
- node
|
- "8"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- yarn test --coverage --coverageReporters=text-lcov | coveralls
|
- yarn test --coverage --coverageReporters=text-lcov | coveralls
|
||||||
|
|||||||
+7
-2
@@ -4,7 +4,7 @@
|
|||||||
# “command” is your build command,
|
# “command” is your build command,
|
||||||
[build]
|
[build]
|
||||||
publish = "docs/.vuepress/dist"
|
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
|
# Deploy Preview context
|
||||||
#
|
#
|
||||||
@@ -12,8 +12,13 @@
|
|||||||
# inherit these settings.
|
# inherit these settings.
|
||||||
[context.deploy-preview]
|
[context.deploy-preview]
|
||||||
publish = "docs/.vuepress/dist"
|
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
|
# Redirects
|
||||||
# @see https://www.netlify.com/docs/netlify-toml-reference/
|
# @see https://www.netlify.com/docs/netlify-toml-reference/
|
||||||
|
|||||||
Reference in New Issue
Block a user