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..
ci/cd를 vercel을 이용해 github actions로 진행하고 있었는데 빌드 중에 계속 위 오류가 뜨는 것이다. 왜 그런가 하고 찾아보니, 이유를 알 수 있었다.
자동배포를 진행하기 전에 먼저 배포를 진행하였다. 그래서 해당 프로젝트의 설정에 정적배포를 위한 세팅으로 맞춰져 있었다.
해당 프로젝트 Settings -> Pages로 간다. 그 다음 Build and deployment섹션에서 Source를 Deploy froma branch에서 Github Actions로 바꿔주었고 이로써 에러가 사라지고 정상작동이 되었다.