# GitHub Deployments Plugin The GitHub Deployments Plugin displays recent deployments from GitHub. ![github-deployments-card](./docs/github-deployments-card.png) ## Prerequisites - [GitHub Authentication Provider](https://backstage.io/docs/auth/github/provider) ## Getting Started 1. Install the GitHub Deployments Plugin. ```bash # packages/app yarn add @backstage/plugin-github-deployments ``` 2. Add the `EntityGithubDeploymentsCard` to the EntityPage: ```typescript // packages/app/src/components/catalog/EntityPage.tsx import { EntityGithubDeploymentsCard } from '@backstage/plugin-github-deployments'; const OverviewContent = () => ( // ... // ... ); ``` 3. Add the `github.com/project-slug` annotation to your `catalog-info.yaml` file: ```yaml apiVersion: backstage.io/v1alpha1 kind: Component metadata: name: backstage description: | Backstage is an open-source developer portal that puts the developer experience first. annotations: github.com/project-slug: YOUR_PROJECT_SLUG spec: type: library owner: CNCF lifecycle: experimental ```