Files
fewo-stommer/pipeline.toml
T

64 lines
1.8 KiB
TOML

schema = 1
project = "fewo-stommer"
manager = "0.1.0"
[build]
prepare = [
["composer", "install", "--prefer-dist", "--no-interaction", "--no-progress"],
["npm", "ci", "--no-audit", "--no-fund"],
["npm", "run", "build"],
["php", "-r", "copy('.env.example', '.env');"],
["php", "artisan", "key:generate", "--no-interaction"],
]
test = [["php", "artisan", "test", "--compact", "--testsuite=Feature"]]
finalize = [
["composer", "install", "--no-dev", "--prefer-dist", "--optimize-autoloader", "--no-interaction", "--no-progress"],
["php", "artisan", "optimize:clear", "--no-interaction"],
]
exclude = [
"node_modules", "tests", "docs", "styles", "scripts", "storage", ".gitea", ".github",
".claude", ".codex", ".ai", ".cursor", "AGENTS.md", "CLAUDE.md", "phpunit.xml",
"pipeline.toml", "boost.json", "vendor/laravel/boost", "vendor/laravel/pao",
]
required = ["artisan", "vendor/autoload.php", "public/index.php", "public/build/manifest.json"]
[build.environment]
APP_ENV = "testing"
DB_CONNECTION = "sqlite"
DB_DATABASE = ":memory:"
DB_URL = ""
MAIL_MAILER = "array"
CACHE_STORE = "array"
SESSION_DRIVER = "array"
QUEUE_CONNECTION = "sync"
[remote]
public = "public"
backup = [["@php", "artisan", "backup:database", "--no-interaction"]]
activate = [
["@php", "artisan", "migrate", "--force", "--no-interaction"],
["@php", "artisan", "optimize", "--no-interaction"],
["@php", "artisan", "filament:optimize", "--no-interaction"],
]
[remote.shared]
".env" = ".env"
storage = "storage"
"public/storage" = "storage/app/public"
[targets.staging]
branch = "develop"
path = "test.fewo-stommer.de"
url = "https://stommer.info"
php = "/opt/RZphp84/bin/php-cli"
enabled = true
[targets.production]
branch = "main"
require_merge = true
source_branch = "develop"
path = "prod.fewo-stommer.de"
url = "https://www.fewo-stommer.de"
php = "/opt/RZphp84/bin/php-cli"
enabled = false