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 <cmoulliard@redhat.com>
This commit is contained in:
cmoulliard
2024-01-10 10:51:31 +01:00
parent 71c68535ae
commit a755bf4bf7
@@ -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