Compare commits
2 Commits
51b3d2c7c6
...
943ffe96d1
| Author | SHA1 | Date | |
|---|---|---|---|
|
943ffe96d1
|
|||
|
6d07bbd9ad
|
18
.drone.yml
18
.drone.yml
@@ -95,6 +95,9 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: Deploy Pipeline
|
name: Deploy Pipeline
|
||||||
|
|
||||||
|
workspace:
|
||||||
|
path: /drone/grow
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
@@ -104,10 +107,10 @@ steps:
|
|||||||
image: node
|
image: node
|
||||||
commands:
|
commands:
|
||||||
- cd /app
|
- cd /app
|
||||||
- cp /drone/src/package.json ./
|
- cp /drone/grow/package.json ./
|
||||||
- cp /drone/src/yarn.lock ./
|
- cp /drone/grow/yarn.lock ./
|
||||||
- yarn install --frozen-lockfile
|
- yarn install --frozen-lockfile
|
||||||
- cp -r /drone/src/* .
|
- cp -r /drone/grow/* .
|
||||||
- yarn build
|
- yarn build
|
||||||
volumes:
|
volumes:
|
||||||
- name: app-build-dir
|
- name: app-build-dir
|
||||||
@@ -125,3 +128,12 @@ steps:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: app-build-dir
|
- name: app-build-dir
|
||||||
temp: {}
|
temp: {}
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- main
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
|
depends_on:
|
||||||
|
- Build Pipeline
|
||||||
|
|||||||
Reference in New Issue
Block a user