mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 16:21:16 +03:30
Update '.drone.yml'
This commit is contained in:
+4
-4
@@ -5,12 +5,12 @@ name: cssd
|
|||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- sudo npm install
|
||||||
- npm run prod
|
- sudo npm run prod
|
||||||
- docker build -t registry.willaspace.com/willaspace/cssd:latest .
|
- docker build -t registry.willaspace.com/willaspace/cssd:latest .
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
commands:
|
commands:
|
||||||
- cd /home/administrator/apps/cssd/ ; docker-compose up -d
|
- cd /home/administrator/apps/cssd/ ; docker-compose up -d
|
||||||
- chown -R www-data:www-data /volumes/nginx/www/cssd/public
|
- sudo chown -R www-data:www-data /volumes/nginx/www/cssd/public
|
||||||
- chown -R www-data:www-data /volumes/nginx/www/cssd/storage
|
- sudo chown -R www-data:www-data /volumes/nginx/www/cssd/storage
|
||||||
Reference in New Issue
Block a user