From 8af610e8c4079409f6ad0a1f46945faf54e48370 Mon Sep 17 00:00:00 2001 From: blam Date: Tue, 9 Mar 2021 08:37:48 +0100 Subject: [PATCH 1/2] docs: change recommended actions folder name Signed-off-by: blam --- docs/features/software-templates/writing-custom-actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/software-templates/writing-custom-actions.md b/docs/features/software-templates/writing-custom-actions.md index 2a48a014d6..5f8609151a 100644 --- a/docs/features/software-templates/writing-custom-actions.md +++ b/docs/features/software-templates/writing-custom-actions.md @@ -16,7 +16,7 @@ alongside your `backend` package in `packages/backend`. Let's create a simple action that adds a new file and some contents that are passed as `input` to the function. -In `packages/backend/src/actions/custom.ts` we can create a new action. +In `packages/backend/src/plugins/scaffolder/actions/custom.ts` we can create a new action. ```ts import { createTemplateAction } from '@backstage/plugin-scaffolder-backend'; From 52dac1fda9b573e9ce6adc8072e620c1ea5c3e39 Mon Sep 17 00:00:00 2001 From: blam Date: Tue, 9 Mar 2021 11:20:21 +0100 Subject: [PATCH 2/2] chore: run prettier Signed-off-by: blam --- docs/features/software-templates/writing-custom-actions.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/features/software-templates/writing-custom-actions.md b/docs/features/software-templates/writing-custom-actions.md index 5f8609151a..d638644e54 100644 --- a/docs/features/software-templates/writing-custom-actions.md +++ b/docs/features/software-templates/writing-custom-actions.md @@ -16,7 +16,8 @@ alongside your `backend` package in `packages/backend`. Let's create a simple action that adds a new file and some contents that are passed as `input` to the function. -In `packages/backend/src/plugins/scaffolder/actions/custom.ts` we can create a new action. +In `packages/backend/src/plugins/scaffolder/actions/custom.ts` we can create a +new action. ```ts import { createTemplateAction } from '@backstage/plugin-scaffolder-backend';