Add-github-install-scripts
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
APP_DIR="${APP_DIR:-$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)}"
|
||||
|
||||
cd "$APP_DIR"
|
||||
|
||||
git pull --ff-only
|
||||
composer install --no-dev --prefer-dist --optimize-autoloader --no-interaction
|
||||
npm ci
|
||||
npm run build
|
||||
php artisan migrate --force
|
||||
php artisan optimize:clear
|
||||
php artisan optimize
|
||||
|
||||
echo "Technical Services Exchange updated in $APP_DIR"
|
||||
Reference in New Issue
Block a user