Fix: build per server, remove build from git
- src/public/build/ removed from git tracking - .gitignore + src/.gitignore: /public/build added - deploy.sh: npm ci + npm run build:staging/prod added back Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>main
parent
a693cecb61
commit
fb7dcf2629
|
|
@ -4,6 +4,7 @@ src/.env.local
|
|||
src/.env.development
|
||||
src/.env.staging
|
||||
src/.env.production
|
||||
src/public/build/
|
||||
src/vendor/
|
||||
src/node_modules/
|
||||
src/storage/logs/
|
||||
|
|
|
|||
|
|
@ -5,8 +5,10 @@ MODE=${1:-production}
|
|||
|
||||
if [ "$MODE" = "staging" ]; then
|
||||
COMPOSE="docker-compose.staging.yml"
|
||||
BUILD_CMD="npm run build:staging"
|
||||
else
|
||||
COMPOSE="docker-compose.yml"
|
||||
BUILD_CMD="npm run build:prod"
|
||||
fi
|
||||
|
||||
echo "🚀 Aziros deploying... ($MODE)"
|
||||
|
|
@ -16,6 +18,13 @@ cd ~/aziros
|
|||
echo "→ Code aktualisieren..."
|
||||
git pull origin main
|
||||
|
||||
# NPM Build
|
||||
echo "→ Assets bauen..."
|
||||
docker compose -f $COMPOSE exec -T app \
|
||||
npm ci --silent
|
||||
docker compose -f $COMPOSE exec -T app \
|
||||
$BUILD_CMD
|
||||
|
||||
# Composer
|
||||
echo "→ Composer install..."
|
||||
docker compose -f $COMPOSE exec -T app \
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
/.zed
|
||||
/auth.json
|
||||
/node_modules
|
||||
/public/build
|
||||
/public/hot
|
||||
/public/storage
|
||||
/storage/*.key
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1 +0,0 @@
|
|||
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));export{s as n,l as r,o as t};
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,102 +0,0 @@
|
|||
{
|
||||
"_axios-CH1o5aW5.js": {
|
||||
"file": "assets/axios-CH1o5aW5.js",
|
||||
"name": "axios",
|
||||
"imports": [
|
||||
"_rolldown-runtime-XQCOJYun.js"
|
||||
]
|
||||
},
|
||||
"_rolldown-runtime-XQCOJYun.js": {
|
||||
"file": "assets/rolldown-runtime-XQCOJYun.js",
|
||||
"name": "rolldown-runtime"
|
||||
},
|
||||
"_vendor-BJQRk5yT.js": {
|
||||
"file": "assets/vendor-BJQRk5yT.js",
|
||||
"name": "vendor",
|
||||
"imports": [
|
||||
"_rolldown-runtime-XQCOJYun.js"
|
||||
]
|
||||
},
|
||||
"resources/css/app.css": {
|
||||
"file": "assets/app-Gc0Fmk29.css",
|
||||
"name": "app",
|
||||
"names": [
|
||||
"app.css"
|
||||
],
|
||||
"src": "resources/css/app.css",
|
||||
"isEntry": true,
|
||||
"assets": [
|
||||
"assets/bai-jamjuree-200-BNt7RBly.woff2",
|
||||
"assets/bai-jamjuree-200italic-BKLgs9tE.woff2",
|
||||
"assets/bai-jamjuree-300-tJsyrsLz.woff2",
|
||||
"assets/bai-jamjuree-300italic-CEl8Yjrk.woff2",
|
||||
"assets/bai-jamjuree-regular-DkJufkaw.woff2",
|
||||
"assets/bai-jamjuree-italic-CTCl9qLZ.woff2",
|
||||
"assets/bai-jamjuree-500-B5fxNtsw.woff2",
|
||||
"assets/bai-jamjuree-500italic-CXrosT7a.woff2",
|
||||
"assets/bai-jamjuree-600-D6So4yha.woff2",
|
||||
"assets/bai-jamjuree-600italic-6wcHKQVd.woff2",
|
||||
"assets/bai-jamjuree-700-D9sAOCG2.woff2",
|
||||
"assets/bai-jamjuree-700italic-LW2Ny60n.woff2"
|
||||
]
|
||||
},
|
||||
"resources/fonts/BaiJamjuree/bai-jamjuree-200.woff2": {
|
||||
"file": "assets/bai-jamjuree-200-BNt7RBly.woff2",
|
||||
"src": "resources/fonts/BaiJamjuree/bai-jamjuree-200.woff2"
|
||||
},
|
||||
"resources/fonts/BaiJamjuree/bai-jamjuree-200italic.woff2": {
|
||||
"file": "assets/bai-jamjuree-200italic-BKLgs9tE.woff2",
|
||||
"src": "resources/fonts/BaiJamjuree/bai-jamjuree-200italic.woff2"
|
||||
},
|
||||
"resources/fonts/BaiJamjuree/bai-jamjuree-300.woff2": {
|
||||
"file": "assets/bai-jamjuree-300-tJsyrsLz.woff2",
|
||||
"src": "resources/fonts/BaiJamjuree/bai-jamjuree-300.woff2"
|
||||
},
|
||||
"resources/fonts/BaiJamjuree/bai-jamjuree-300italic.woff2": {
|
||||
"file": "assets/bai-jamjuree-300italic-CEl8Yjrk.woff2",
|
||||
"src": "resources/fonts/BaiJamjuree/bai-jamjuree-300italic.woff2"
|
||||
},
|
||||
"resources/fonts/BaiJamjuree/bai-jamjuree-500.woff2": {
|
||||
"file": "assets/bai-jamjuree-500-B5fxNtsw.woff2",
|
||||
"src": "resources/fonts/BaiJamjuree/bai-jamjuree-500.woff2"
|
||||
},
|
||||
"resources/fonts/BaiJamjuree/bai-jamjuree-500italic.woff2": {
|
||||
"file": "assets/bai-jamjuree-500italic-CXrosT7a.woff2",
|
||||
"src": "resources/fonts/BaiJamjuree/bai-jamjuree-500italic.woff2"
|
||||
},
|
||||
"resources/fonts/BaiJamjuree/bai-jamjuree-600.woff2": {
|
||||
"file": "assets/bai-jamjuree-600-D6So4yha.woff2",
|
||||
"src": "resources/fonts/BaiJamjuree/bai-jamjuree-600.woff2"
|
||||
},
|
||||
"resources/fonts/BaiJamjuree/bai-jamjuree-600italic.woff2": {
|
||||
"file": "assets/bai-jamjuree-600italic-6wcHKQVd.woff2",
|
||||
"src": "resources/fonts/BaiJamjuree/bai-jamjuree-600italic.woff2"
|
||||
},
|
||||
"resources/fonts/BaiJamjuree/bai-jamjuree-700.woff2": {
|
||||
"file": "assets/bai-jamjuree-700-D9sAOCG2.woff2",
|
||||
"src": "resources/fonts/BaiJamjuree/bai-jamjuree-700.woff2"
|
||||
},
|
||||
"resources/fonts/BaiJamjuree/bai-jamjuree-700italic.woff2": {
|
||||
"file": "assets/bai-jamjuree-700italic-LW2Ny60n.woff2",
|
||||
"src": "resources/fonts/BaiJamjuree/bai-jamjuree-700italic.woff2"
|
||||
},
|
||||
"resources/fonts/BaiJamjuree/bai-jamjuree-italic.woff2": {
|
||||
"file": "assets/bai-jamjuree-italic-CTCl9qLZ.woff2",
|
||||
"src": "resources/fonts/BaiJamjuree/bai-jamjuree-italic.woff2"
|
||||
},
|
||||
"resources/fonts/BaiJamjuree/bai-jamjuree-regular.woff2": {
|
||||
"file": "assets/bai-jamjuree-regular-DkJufkaw.woff2",
|
||||
"src": "resources/fonts/BaiJamjuree/bai-jamjuree-regular.woff2"
|
||||
},
|
||||
"resources/js/app.js": {
|
||||
"file": "assets/app-D0SVbbbY.js",
|
||||
"name": "app",
|
||||
"src": "resources/js/app.js",
|
||||
"isEntry": true,
|
||||
"imports": [
|
||||
"_rolldown-runtime-XQCOJYun.js",
|
||||
"_axios-CH1o5aW5.js",
|
||||
"_vendor-BJQRk5yT.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue