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