build: update deployment commands

This commit is contained in:
Ben Goldsworthy 2024-03-14 19:24:18 +01:00
parent a5525800d1
commit ad30ee40d4
Signed by: Rumperuu
SSH key fingerprint: SHA256:e5XfzNOr9UvWpEzyLfw0GtTMZWIFh3NmxH+/qQIi3xE

View file

@ -6,8 +6,8 @@
"deploy": "rsync --delete -rP app artisan bootstrap composer.* config database lang resources routes storage tests ovhvps:~/track", "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:public": "rsync --delete -rP public ovhvps:~/track",
"deploy:dependencies": "rsync --delete -rP vendor ovhvps:~/track", "deploy:dependencies": "rsync --delete -rP vendor ovhvps:~/track",
"deploy:full": "npm run deploy && npm run deploy:public && npm run deploy:dependencies", "deploy:full": "npm run deploy && npm run deploy:public && npm run deploy:dependencies && npm run deploy:finish",
"sync": "rsync -rP ./public/ ovhvps:~/track/public", "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": "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",
"lint:php": "./vendor/bin/phpcs", "lint:php": "./vendor/bin/phpcs",