반응형
Github Actions로 CI/CD를 구축하면서 paths filter를 사용하려던 중 the process '/usr/bin/git' failed with exit code 128라는 오류를 만났다.
fatal: not a git repository (or any of the parent directories): .git
Error: The process '/usr/bin/git' failed with exit code 128
오류 메시지를 읽어보니 not a git repository라는 부분이 있어서 작성했던 yml 파일을 다시 보니 checkout보다 paths filter를 먼저 써줘서 생기는 오류였다.
checkout을 통해 repository로부터 CI 서버로 먼저 코드를 내려받은 후에 다른 action들을 사용해주면 된다 :)
반응형
'Trouble Shooting' 카테고리의 다른 글
[passport] req#logout requires a callback function 오류 해결 (0) | 2023.02.28 |
---|---|
[Next.js] Component selectors can only be used in conjunction with @emotion/babel-plugin 해결 (0) | 2023.02.23 |
[Nginx] 페이지 새로고침 시 Page Not Found 오류 해결 (1) | 2023.02.07 |
[Netlify] 페이지 새로고침 시 Page Not Found 오류 해결 (0) | 2023.02.06 |
inefficient regular expression complexity in nth-check (0) | 2023.01.26 |