Done
This commit is contained in:
14
.drone.yml
14
.drone.yml
@@ -98,10 +98,6 @@ name: Deploy Pipeline
|
||||
workspace:
|
||||
path: /drone/grow
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: Build
|
||||
image: node
|
||||
@@ -112,21 +108,15 @@ steps:
|
||||
- yarn install --frozen-lockfile
|
||||
- cp -r /drone/grow/* .
|
||||
- yarn build
|
||||
volumes:
|
||||
- name: build-dir
|
||||
path: /app
|
||||
- name: Deploy Container
|
||||
image: compose
|
||||
commands:
|
||||
- cp /build-dir/* .
|
||||
- cp /drone/grow/* .
|
||||
- build
|
||||
- up -d
|
||||
volumes:
|
||||
- name: env
|
||||
path: ./.env
|
||||
- name: build-dir
|
||||
path:
|
||||
path: /app-build
|
||||
depends_on: Build
|
||||
|
||||
trigger:
|
||||
@@ -136,8 +126,6 @@ trigger:
|
||||
- push
|
||||
|
||||
volumes:
|
||||
- name: build-dir
|
||||
temp: {}
|
||||
- name: env
|
||||
bost:
|
||||
path: /volume1/docker/labs/grow-auth/.env
|
||||
|
||||
Reference in New Issue
Block a user