From 613ad99264ca6aa7adeb1c7dc79c06bb7a125d84 Mon Sep 17 00:00:00 2001 From: Debucquoy Date: Wed, 14 Feb 2024 11:06:26 +0100 Subject: [PATCH] ci(app): Drone Deployment --- .drone.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 45ad986..146771f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,6 +37,14 @@ kind: pipeline type: exec name: deploy +server: + host: + from_secret: host + user: + from_secret: user + ssh_key: + from_secret: ssh_key + plateform: os: linux arch: amd64 @@ -47,13 +55,12 @@ trigger: event: - push -clone: - disabled: true - steps: - name: deploy frontend commands: - - echo "deploying frontend TODO" + - cd frontend + - npm run build + - install -d "dist/" "$HOME/dist" - name: deploy backend commands: - echo "deploying backend TODO"