The build was gated on `git diff BEFORE AFTER`, where BEFORE was HEAD before checkout. Re-deploying the same ref (or re-running after an aborted deploy) made BEFORE == AFTER, so the diff was empty and the SPA build silently skipped — shipping stale assets while migrations still ran. - Always rebuild the SPA; only gate the heavy dep installs. - npm ci / composer install also run when node_modules / vendor are missing. - Track the last successfully deployed commit in .deploy-last-commit and diff against that, so an aborted run never advances the baseline. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
29 lines
374 B
Plaintext
29 lines
374 B
Plaintext
.DS_Store
|
|
/.phpunit.cache
|
|
/node_modules
|
|
/public/build
|
|
/public/hot
|
|
/public/storage
|
|
/storage/*.key
|
|
/storage/pail
|
|
/vendor
|
|
.env
|
|
.env.backup
|
|
.env.production
|
|
.phpactor.json
|
|
.phpunit.result.cache
|
|
Homestead.json
|
|
Homestead.yaml
|
|
npm-debug.log
|
|
yarn-error.log
|
|
/auth.json
|
|
/.fleet
|
|
/.idea
|
|
/.nova
|
|
/.vscode
|
|
/.zed
|
|
/.tmp/
|
|
/.worktrees/
|
|
/.deploy-last-commit
|
|
/ONSPD_Online_Latest_Centroids_*.csv
|