GitHub

🐙

Connect your GitHub repositories.

Learn how the most popular Git-as-a-service provider is integrated with fortrabbit.

# About GitHub

You hopefully already know that GitHub (by Microsoft) is the most popular choice for versionized code hosting and collaborating. It is free to use to some extend. Similar alternatives are Bitbucket and GitLab.

GitHub is not Git: GitHub is so popular that beginners sometimes confuse GitHub with Git. Git is the version control system; GitHub provides Git hosting plus collaboration features. If you're new to Git, check out our getting started with Git article.

# Built-in GitHub integration

fortrabbit services tightly integrate with GitHub. Install the fortrabbit GitHub app to connect GitHub repos with apps hosted on fortrabbit. See the deployment intro to get started.

The built-in GitHub integration is easiest way to enable automatic deployments on git push. It includes automatic stack detection and software templates to auto-configure build commands, post-deploy commands and other deployment related settings.

# Using GitHub Actions

GitHub is also offering Github Actions, an integrated continuous integration solution. Combining GitHub Actions with fortrabbit can help to integrate even more advanced CI/CD workflows. fortrabbit does not offer predefined GitHub Actions (currently), this blog post contains two templates to get started.

To use GitHub Actions, disable the built-in integration. Use rsync or some other SSH based workflow to deploy code to the web space.

Create an SSH key on GitHub and add this as a deploy key to fortrabbit so that GitHub can has access on the desired environments.

Found a tpyo?Edit