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:
+3
-3
@@ -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
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user