Skip to content

Instantly share code, notes, and snippets.

@RichardStyles
Created April 8, 2023 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RichardStyles/5f7f0c1b464aa33c2ac178807cf8e906 to your computer and use it in GitHub Desktop.
Save RichardStyles/5f7f0c1b464aa33c2ac178807cf8e906 to your computer and use it in GitHub Desktop.
Example of a taxi.json configuration file
{
"sites": [
{
"name": "laravel-1",
"php": "php@8.1",
"branch": "main",
"secure": true,
"vcs": "https://github.com/laravel/laravel",
"post-build": [
"cp .env.example .env",
"php artisan key:generate"
],
"post-reset": []
},
{
"name": "laravel-2",
"branch": "main",
"vcs": "https://github.com/laravel/laravel",
"post-build": [
"cp .env.example .env"
],
"post-reset": []
}
],
"hooks": {
"build": [
"npm install",
"npm run production",
"composer install"
],
"reset": [
"rm -rf vendor && rm composer.lock",
"composer install",
"npm run production"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment