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