Skip to content

Commit

Permalink
Add deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
jewei committed Jan 14, 2025
1 parent beb890b commit 69a59a8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
php artisan down || true

git reset --hard
git pull origin main

composer install --no-dev --no-interaction --optimize-autoloader

bun install --production
bun run build

php artisan migrate --force
php artisan optimize
php artisan up

0 comments on commit 69a59a8

Please sign in to comment.