build: update deployment scripts
This commit is contained in:
parent
2687b6a6ea
commit
a5525800d1
1 changed files with 5 additions and 1 deletions
|
@ -2,7 +2,11 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build && rsync --delete -rP app artisan bootstrap composer.* config database lang public resources routes storage tests vendor ovhvps:~/track",
|
"build": "vite build",
|
||||||
|
"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",
|
"sync": "rsync -rP ./public/ ovhvps:~/track/public",
|
||||||
"lint": "npm run lint:php; npm run lint:css",
|
"lint": "npm run lint:php; npm run lint:css",
|
||||||
"lint:fix": "npm run lint:php:fix; npm run lint:css:fix",
|
"lint:fix": "npm run lint:php:fix; npm run lint:css:fix",
|
||||||
|
|
Loading…
Reference in a new issue