This commit is contained in:
24
.drone.yml
24
.drone.yml
@@ -99,7 +99,7 @@ workspace:
|
||||
path: /drone/grow
|
||||
|
||||
steps:
|
||||
- name: Build
|
||||
- name: Build Container
|
||||
image: node:latest
|
||||
commands:
|
||||
- cp /drone/grow/package.json ./
|
||||
@@ -115,7 +115,8 @@ steps:
|
||||
volumes:
|
||||
- name: env
|
||||
path: ./.env
|
||||
|
||||
- name: dockersock
|
||||
Path: /var/run/docker.sock
|
||||
- name: Send Status Notifications
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
@@ -132,16 +133,19 @@ steps:
|
||||
- success
|
||||
- failure
|
||||
|
||||
volumes:
|
||||
- name: env
|
||||
host:
|
||||
path: /volume1/docker/labs/grow-auth/.env
|
||||
- name: dockersock
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
depends_on:
|
||||
- Build Pipeline
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
|
||||
volumes:
|
||||
- name: env
|
||||
host:
|
||||
path: /volume1/docker/labs/grow-auth/.env
|
||||
|
||||
depends_on:
|
||||
- Build Pipeline
|
||||
|
||||
Reference in New Issue
Block a user