diff --git a/package.json b/package.json index 9d6cd59..513dbcc 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "deploy": "rsync --delete -rP app artisan bootstrap composer.* config database lang resources routes storage tests ovhvps:~/track", "deploy:public": "rsync --delete -rP public ovhvps:~/track", "deploy:dependencies": "rsync --delete -rP vendor ovhvps:~/track", - "deploy:full": "npm run deploy && npm run deploy:public && npm run deploy:dependencies", - "sync": "rsync -rP ./public/ ovhvps:~/track/public", + "deploy:full": "npm run deploy && npm run deploy:public && npm run deploy:dependencies && npm run deploy:finish", + "deploy:finish": "ssh ovhvps 'cd track && docker compose down && docker system prune -f && docker compose up -d --build'", "lint": "npm run lint:php; npm run lint:css", "lint:fix": "npm run lint:php:fix; npm run lint:css:fix", "lint:php": "./vendor/bin/phpcs",