Files
backstage/.changeset/brown-frogs-walk.md
T
Stephen Glass 734c2d4203 add fetch:template:file action
Signed-off-by: Stephen Glass <stephen@stephen.glass>
2024-09-13 20:10:52 -04:00

495 B

@backstage/plugin-scaffolder-backend
@backstage/plugin-scaffolder-backend
patch

Add fetch:template:file scaffolder action to download a single file and template the contents. Example usage:

- id: fetch-file
  name: Fetch File
  action: fetch:template:file
  input:
    url: https://github.com/backstage/software-templates/blob/main/scaffolder-templates/create-react-app/skeleton/catalog-info.yaml
    targetPath: './target/catalog-info.yaml'
    values:
      component_id: My Component
      owner: Test