deployer 스크립트 권한 오류 수정
This commit is contained in:
@@ -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}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user