This commit is contained in:
2023-05-03 15:29:42 -04:00
parent 45964e4f13
commit c83db307ad

View File

@@ -113,16 +113,18 @@ steps:
- cp -r /drone/grow/* . - cp -r /drone/grow/* .
- yarn build - yarn build
volumes: volumes:
- name: app-build-dir - name: build-dir
path: /app path: /app
- name: Deploy Container - name: Deploy Container
image: compose image: compose
commands: commands:
- cp /app-build-dir/* . - cp /build-dir/* .
- build - build
- up -d - up -d
volumes: volumes:
- name: app-build-dir - name: env
path: ./.env
- name: build-dir
path: path:
path: /app-build path: /app-build
depends_on: Build depends_on: Build
@@ -134,8 +136,11 @@ trigger:
- push - push
volumes: volumes:
- name: app-build-dir - name: build-dir
temp: {} temp: {}
- name: env
bost:
path: /volume1/docker/labs/grow-auth/.env
depends_on: depends_on:
- Build Pipeline - Build Pipeline