github actions 오류 : HttpError: home/runner...

Yunseok Choi·2024년 8월 15일

Portfolio v2

목록 보기
2/4

HttpError: home/runner/work/_actions/actions/configure-pages/v5/node_modules/@octokit/request/dist-node/index.js#L124
Get Pages site failed. Please verify that the repository has Pages enabled and configured to build using GitHub Actions..

1️⃣ 문제 상황

ci/cdvercel을 이용해 github actions로 진행하고 있었는데 빌드 중에 계속 위 오류가 뜨는 것이다. 왜 그런가 하고 찾아보니, 이유를 알 수 있었다.

2️⃣ 문제 이유

자동배포를 진행하기 전에 먼저 배포를 진행하였다. 그래서 해당 프로젝트의 설정에 정적배포를 위한 세팅으로 맞춰져 있었다.

3️⃣ 문제 해결

해당 프로젝트 Settings -> Pages로 간다. 그 다음 Build and deployment섹션에서 Source를 Deploy froma branch에서 Github Actions로 바꿔주었고 이로써 에러가 사라지고 정상작동이 되었다.

profile
이용자와 서비스를 하나로 만드는 개발자, Hermann입니다.

0개의 댓글