From d1a4f69406ee101664ebc4bc3a7686f0a436a089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20=C3=81lvarez?= Date: Mon, 10 Jan 2022 08:00:40 +0100 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 36e959c..b0f7bab 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,8 +3,21 @@ type: docker name: default steps: -- name: say-hello - image: busybox +- name: backend + image: composer commands: - - echo hello-world - - echo $(pwd) $(id) + - cd backend && composer install + +- name: frontend + image: node + commands: + - cd frontend && npm install && npm run build + +- name: discord notification + image: appleboy/drone-discord + settings: + webhook_id: + from_secret: discord_webhook_id + webhook_token: + from_secret: discord_webhook_token + username: Drone