Skip to content

Commit

Permalink
create-app: Add changeset for techdocs-backend changes around GCS pub…
Browse files Browse the repository at this point in the history
…lisher
  • Loading branch information
OrkoHunter committed Dec 8, 2020
1 parent 8736de1 commit 2783ec0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .changeset/six-mugs-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
'@backstage/create-app': patch
---

In the techdocs-backend plugin (`packages/backend/src/plugins/techdocs.ts`), create a publisher using

```
const publisher = Publisher.fromConfig(config, logger, discovery);
```

instead of

```
const publisher = new LocalPublish(logger, discovery);
```

An instance of `publisher` can either be a local filesystem publisher or a Google Cloud Storage publisher.

Read more about the configs here https://backstage.io/docs/features/techdocs/configuration
(You will also have to update `techdocs.storage.type` to `local` or `google_gcs`. And `techdocs.builder` to either `local` or `ci`.)

0 comments on commit 2783ec0

Please sign in to comment.