A stab at deploying
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
2023-05-03 15:00:10 -04:00
parent 32bfbd7adc
commit 51b3d2c7c6
6 changed files with 104 additions and 2 deletions

View File

@@ -89,3 +89,39 @@ trigger:
- main
event:
- push
---
kind: pipeline
type: docker
name: Deploy Pipeline
platform:
os: linux
arch: arm64
steps:
- name: yarn-install
image: node
commands:
- cd /app
- cp /drone/src/package.json ./
- cp /drone/src/yarn.lock ./
- yarn install --frozen-lockfile
- cp -r /drone/src/* .
- yarn build
volumes:
- name: app-build-dir
path: /app-build
- name: Deploy Container
image: compose
commands:
- cd /app
- cp /app-build-dir/* .
- build
- up -d
volumes:
- name: app-build-dir
path: /app-build
volumes:
- name: app-build-dir
temp: {}