Skip to content

monorepo deployment #63330

Discussion options

You must be logged in to vote

Hi, hp8wvvvgnj6asjm7!

Absolutely, there are various resources available that can guide you on using GitHub Actions with monorepos, including methods for cloning specific folders. Two commonly used approaches are submodules and subtrees.

  • Submodules:
    Submodules allow you to include a separate repository within another repository. This can be a helpful approach if you want to keep specific parts of your monorepo organized in separate repositories.

You can use submodules in combination with GitHub Actions to clone a specific folder from a submodule. To do this, you'll set up the submodule in your monorepo, and then in your GitHub Actions workflow, you can use git submodule update --init --r…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hp8wvvvgnj6asjm7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Actions Build, test, and automate your deployment pipeline with world-class CI/CD Best Practices Best practices, tips & tricks, and articles from GitHub and its users Programming Help Programming languages, open source, and software development.
2 participants