Add-github-install-scripts

This commit is contained in:
Codex
2026-07-10 12:39:49 -05:00
parent cf190886a7
commit 2ee16a6469
5 changed files with 166 additions and 0 deletions
+16
View File
@@ -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"