External GitHub Repos
You can create a pipeline for an external GitHub repository through CircleCI's GitHub App integration, which allows you to set up pipelines with more flexibility in terms of config file location and repository selection.
Steps
Here's how you can do it:
-
In the CircleCI web app, go to your project settings.
-
Select "Pipelines" in the sidebar.
-
Click on "Add Pipeline".
-
When setting up the pipeline, you can choose a different repository for your config file (Config Source) and your code (Checkout Source).
This feature allows you to store your CircleCI configuration in one repository while running pipelines for code in another repository.
Considerations
It's important to note that this functionality is currently supported for GitHub App and Bitbucket Data Center pipelines. If you're using GitHub OAuth integration, you might need to switch to the GitHub App integration to access this feature.
Additional Resources
For more detailed instructions on setting up a pipeline, you can refer to the Pipelines and triggers overview in the CircleCI documentation.
Comments
Article is closed for comments.