fix: 배포 시 storage/framework 디렉터리 생성 추가
- mkdir -p storage/framework/{views,cache/data,sessions} storage/logs 추가
- .gitignore로 누락되는 Laravel 필수 디렉터리 생성
- Blade 캐시 경로 에러 해결
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -30,7 +30,7 @@ pipeline {
|
||||
|
||||
ssh ${DEPLOY_USER}@211.117.60.189 '
|
||||
cd /home/webservice/api-stage/releases/${RELEASE_ID} &&
|
||||
mkdir -p bootstrap/cache &&
|
||||
mkdir -p bootstrap/cache storage/framework/{views,cache/data,sessions} storage/logs &&
|
||||
ln -sfn /home/webservice/api-stage/shared/.env .env &&
|
||||
ln -sfn /home/webservice/api-stage/shared/storage/app storage/app &&
|
||||
composer install --no-dev --optimize-autoloader --no-interaction &&
|
||||
@@ -77,7 +77,7 @@ pipeline {
|
||||
|
||||
ssh ${DEPLOY_USER}@211.117.60.189 '
|
||||
cd /home/webservice/api/releases/${RELEASE_ID} &&
|
||||
mkdir -p bootstrap/cache &&
|
||||
mkdir -p bootstrap/cache storage/framework/{views,cache/data,sessions} storage/logs &&
|
||||
ln -sfn /home/webservice/api/shared/.env .env &&
|
||||
ln -sfn /home/webservice/api/shared/storage/app storage/app &&
|
||||
composer install --no-dev --optimize-autoloader --no-interaction &&
|
||||
|
||||
Reference in New Issue
Block a user