1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Files
docs/content/pages/getting-started-with-github-pages/using-submodules-with-github-pages.md
Laura Coursen 8f964ea2cb GHEC version (#20947)
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
Co-authored-by: Robert Sese <sese@github.com>
Co-authored-by: Peter Bengtsson <peterbe@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-10-15 15:41:33 -05:00

1.2 KiB

title, intro, redirect_from, product, versions, topics, shortTitle
title intro redirect_from product versions topics shortTitle
Using submodules with GitHub Pages You can use submodules with {% data variables.product.prodname_pages %} to include other projects in your site's code.
/articles/using-submodules-with-pages/
/articles/using-submodules-with-github-pages
/github/working-with-github-pages/using-submodules-with-github-pages
{% data reusables.gated-features.pages %}
fpt ghec
* *
Pages
Use submodules with Pages

If the repository for your {% data variables.product.prodname_pages %} site contains submodules, their contents will automatically be pulled in when your site is built.

You can only use submodules that point to public repositories, because the {% data variables.product.prodname_pages %} server cannot access private repositories.

Use the https:// read-only URL for your submodules, including nested submodules. You can make this change in your .gitmodules file.

Further reading