CodeDeploy 를 사용한 자동 배포 오류
Script at specified location: scripts/before-deploy.sh run as user ubuntu failed with exit code 1 첫번째 문제는 repository 명을 잘못 입력했었다. #!/bin/bash REPOSITORY=/home/ubuntu/mini-BE # 여기에서 mini_BE 로 잘못 적혀있었다. cd $REPOSITORY sudo npm ci npm start 그렇기 때문에 우분투 환경에서 mini_BE 와 mini-BE 두 폴더가 생성되었었다. 두 폴더를 모두 삭제해 주었고 코드 수정후 다시 클론하여 폴더를 가져왔다. appspec.yml 파일이다. version: 0.0 os: linux files: - source: / destinati..
2023.07.16