useEntity and more tests

Signed-off-by: Andrew Johnson <ajohnson@gocardless.com>
This commit is contained in:
Andrew Johnson
2021-03-26 11:30:14 +00:00
parent 29e68d271b
commit 1da2c481d2
8 changed files with 166 additions and 65 deletions
+5 -5
View File
@@ -1,12 +1,12 @@
# Github Deployments Plugin
# GitHub Deployments Plugin
The Github Deployments Plugin displays recent deployments from Github.
The GitHub Deployments Plugin displays recent deployments from GitHub.
![github-deployments-card](./docs/github-deployments-card.png)
## Getting Started
1. Install the Github Deployments Plugin
1. Install the GitHub Deployments Plugin
```bash
# packages/app
@@ -14,7 +14,7 @@ The Github Deployments Plugin displays recent deployments from Github.
yarn add @backstage/plugin-github-deployments
```
2. Add proxy and auth token for Github
2. Add proxy and auth token for GitHub
```yaml
# app-config.yaml
@@ -57,7 +57,7 @@ const OverviewContent = ({ entity }: { entity: Entity }) => (
);
```
5. Add the github.com/project-slug annotation to your catalog-info.yaml file:
5. Add the `github.com/project-slug` annotation to your `catalog-info.yaml` file:
```yaml
apiVersion: backstage.io/v1alpha1