Skip to content

Commit

Permalink
ci: add config as code for railway
Browse files Browse the repository at this point in the history
  • Loading branch information
limwa committed Jul 17, 2024
1 parent 236ff80 commit d2b2980
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
4 changes: 0 additions & 4 deletions entrypoint.sh

This file was deleted.

9 changes: 9 additions & 0 deletions seeder.railway.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS"
},
"deploy": {
"startCommand": "php artisan migrate --force --seed --no-interaction --isolated"
}
}
10 changes: 10 additions & 0 deletions website.railway.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS"
},
"deploy": {
"sleepApplication": true,
"startCommand": "php artisan serve"
}
}

0 comments on commit d2b2980

Please sign in to comment.