Skip to main content

GitHub Pages에서 하위 모듈 사용

GitHub Pages와 함께 하위 모듈을 사용하여 사이트 코드에 다른 프로젝트를 포함할 수 있습니다.

누가 이 기능을 사용할 수 있는 있나요?

GitHub Pages is available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see "GitHub’s plans."

All GitHub Pages builds will use GitHub Actions from June 30, 2024. No other changes are required but GitHub Actions must be enabled in your repository for builds to continue. For more information on enabling GitHub Actions, see "Managing GitHub Actions settings for a repository."

GitHub Pages 사이트의 리포지토리에 하위 모듈이 포함되어 있으면 사이트가 빌드될 때 해당 콘텐츠를 자동으로 풀(pull)합니다.

GitHub Pages 서버는 프라이빗 리포지토리에 액세스할 수 없으므로 퍼블릭 리포지토리를 가리키는 하위 모듈만 사용할 수 있습니다.

중첩된 하위 모듈을 포함하여 하위 모듈에 대한 https:// 읽기 전용 URL을 사용합니다. .gitmodules 파일에서 이 변경을 수행할 수 있습니다.

추가 참고 자료