build: update deployment scripts

This commit is contained in:
Ben Goldsworthy 2024-02-18 16:36:27 +00:00
parent 2687b6a6ea
commit a5525800d1
Signed by: Rumperuu
SSH key fingerprint: SHA256:e5XfzNOr9UvWpEzyLfw0GtTMZWIFh3NmxH+/qQIi3xE

View file

@ -2,7 +2,11 @@
"private": true,
"scripts": {
"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",
"lint": "npm run lint:php; npm run lint:css",
"lint:fix": "npm run lint:php:fix; npm run lint:css:fix",