[TASK] update drone-pipeline
This commit is contained in:
parent
575ee0802d
commit
d33450aa42
11
.drone.yml
11
.drone.yml
@ -14,17 +14,10 @@ steps:
|
||||
- ./node_modules
|
||||
- ./dist
|
||||
|
||||
- name: Build DockerImage
|
||||
image: docker
|
||||
volumes:
|
||||
- name: docker_sock
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker build --no-cache -t gulp-node:1 -f Scripte/Dockerfile .
|
||||
|
||||
- name: Build Website
|
||||
image: gulp-node:1
|
||||
image: node:14
|
||||
commands:
|
||||
- npm install -g gulp
|
||||
- npm install
|
||||
- gulp
|
||||
- zip public.zip -r dist/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user