Compare commits
2 Commits
9301350c61
...
96704cc86f
| Author | SHA1 | Date | |
|---|---|---|---|
| 96704cc86f | |||
| b4608e5abf |
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@@ -53,6 +53,10 @@ print('All files OK')
|
|||||||
echo "=== Syncing source to deploy directory ==="
|
echo "=== Syncing source to deploy directory ==="
|
||||||
mkdir -p ${DEPLOY_DIR}
|
mkdir -p ${DEPLOY_DIR}
|
||||||
|
|
||||||
|
# bind mount 대상 디렉터리 사전 생성 (없으면 docker 가 Bind mount failed 로 중단)
|
||||||
|
mkdir -p ${DEPLOY_DIR}/logs ${DEPLOY_DIR}/token_cache
|
||||||
|
chmod 777 ${DEPLOY_DIR}/token_cache 2>/dev/null || true
|
||||||
|
|
||||||
# .env 존재 확인
|
# .env 존재 확인
|
||||||
if [ ! -f "${ENV_FILE}" ]; then
|
if [ ! -f "${ENV_FILE}" ]; then
|
||||||
echo "WARNING: ${ENV_FILE} not found. Creating template..."
|
echo "WARNING: ${ENV_FILE} not found. Creating template..."
|
||||||
|
|||||||
Reference in New Issue
Block a user