From 97f8abb29fc09c60a9b1a8ae73caa5d02e43c164 Mon Sep 17 00:00:00 2001 From: saeid_01 Date: Thu, 3 Mar 2022 15:51:45 +0000 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 20e5eeb4..3333f062 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,12 +5,9 @@ name: cssd steps: - name: build commands: - - sudo npm install - - sudo npm run prod - docker build -t registry.willaspace.com/willaspace/cssd:latest . + - cd /home/administrator/apps/cssd/ ;sudo ./BuildDocker - name: deploy commands: - - cd /home/administrator/apps/cssd/ ; docker-compose up -d - - sudo chown -R www-data:www-data /volumes/nginx/www/cssd/public - - sudo chown -R www-data:www-data /volumes/nginx/www/cssd/storage \ No newline at end of file + - cd /home/administrator/apps/cssd/ ; docker-compose up -d \ No newline at end of file