deployer 스크립트 권한 오류 수정

This commit is contained in:
2026-01-25 21:37:33 +09:00
parent 0fde916120
commit f75bf5d3e5

View File

@@ -29,7 +29,7 @@ async def webhook(req: Request):
raise HTTPException(401, "bad signature")
# 배포 스크립트 실행
p = subprocess.run(["/scripts/deploy.sh"], capture_output=True, text=True)
p = subprocess.run(["/bin/bash", "/scripts/deploy.sh"], capture_output=True, text=True)
if p.returncode != 0:
raise HTTPException(500, f"deploy failed:\n{p.stdout}\n{p.stderr}")