This commit is contained in:
2023-05-03 15:33:24 -04:00
parent c83db307ad
commit cb75c651b9

View File

@@ -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