From a755bf4bf758486236e0e7db1bc7ce984c431061 Mon Sep 17 00:00:00 2001 From: cmoulliard Date: Wed, 10 Jan 2024 10:51:31 +0100 Subject: [PATCH] Remove the non needed code block as createBuiltinActions.ts is a new function exported from latest backstage distribution and gitea will be included when this PR will be merged Signed-off-by: cmoulliard --- .../scaffolder-backend-module-gitea/README.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/plugins/scaffolder-backend-module-gitea/README.md b/plugins/scaffolder-backend-module-gitea/README.md index 8f9d39f4dc..c35138a34c 100644 --- a/plugins/scaffolder-backend-module-gitea/README.md +++ b/plugins/scaffolder-backend-module-gitea/README.md @@ -14,23 +14,6 @@ yarn add --cwd packages/backend Configure the action (if not yet done): (you can check the [docs](https://backstage.io/docs/features/software-templates/writing-custom-actions#registering-custom-actions) to see all options): -```typescript -// plugins/scaffolder-backend/src/scaffolder/actions/builtin/createBuiltinActions.ts - -export const createBuiltinActions = ( -... - const actions = [ - ... - createPublishGiteaAction({ - integrations, - config, - }), - ... - ]; - return actions as TemplateAction[]; -}; -``` - Before to create a template, include to your `app-config.yaml` file the gitea host and credentials under the `integrations:` section