This commit is contained in:
parent
ca5e72d6f5
commit
3ac80cc3e5
10
.drone.yml
10
.drone.yml
@ -2,6 +2,9 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: LivingTogether-Lab
|
name: LivingTogether-Lab
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
path: /drone/src
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: npm build
|
- name: npm build
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
@ -9,6 +12,8 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: publish
|
- name: publish
|
||||||
path: /tmp/cache
|
path: /tmp/cache
|
||||||
|
- name: node_modules
|
||||||
|
path: /drone/src/node_modules
|
||||||
commands:
|
commands:
|
||||||
- npm config set registry https://registry.npm.taobao.org
|
- npm config set registry https://registry.npm.taobao.org
|
||||||
- npm ci
|
- npm ci
|
||||||
@ -19,4 +24,7 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: publish
|
- name: publish
|
||||||
host:
|
host:
|
||||||
path: /http/demo/living-together-lab
|
path: /http/demo/living-together-lab
|
||||||
|
- name: node_modules
|
||||||
|
host:
|
||||||
|
path: /tmp/node_modules/living-together
|
@ -39,7 +39,7 @@ module.exports = (env) => {
|
|||||||
},
|
},
|
||||||
|
|
||||||
plugins: [
|
plugins: [
|
||||||
HTMLPage("Laboratory.html", "Living Together | Laboratory"),
|
HTMLPage("index.html", "Living Together | Laboratory"),
|
||||||
CssPlugin(),
|
CssPlugin(),
|
||||||
AutoFixCssPlugin()
|
AutoFixCssPlugin()
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user