[Gihtub Action] err: fatal: could not read Username for 'https://github.com': 그런 장치 혹은 주소가 없음 2024/09/11 14:59:15 Process exited with status 1 Error: Process completed with exit code 1.

박해인·2024년 9월 12일
1

Error

목록 보기
6/16

문제상황

github action 에서 merge 했을때, deploy에 실패했다.

err: fatal: could not read Username for 'https://github.com': 그런 장치 혹은 주소가 없음
2024/09/11 14:59:15 Process exited with status 1
Error: Process completed with exit code 1.

이런 로그가 떴다.

원인

Git에서 HTTPS를 사용하는 경우 몇 가지 일반적인 오류가 있습니다. 이러한 오류는 일반적으로 이전 버전의 Git이 있거나 리포지토리에 액세스할 수 없음을 나타냅니다.

해결(인 아닌 회피)

github repository를 private으로 설정을 바꿔서 찾지 못한 문제 public으로 바꿔 해결했다.

  • 해결방법?
    deploy.yml에 repository 접근할 수 있는 token을 등록해두는 방법도 있다.

[https://docs.github.com/ko/enterprise-cloud@latest/repositories/creating-and-managing-repositories/troubleshooting-cloning-errors]

profile
갓생살고싶어라

0개의 댓글