config,docs: switch to using url location type

This commit is contained in:
Patrik Oldsberg
2020-10-02 17:21:59 +02:00
parent b971534dfb
commit 238715aac2
8 changed files with 30 additions and 30 deletions
@@ -66,7 +66,7 @@ for example
```yaml
catalog:
locations:
- type: github
- type: url
target: https://github.com/spotify/cookiecutter-golang/blob/master/template.yaml
rules:
- allow: [Template]
@@ -191,13 +191,13 @@ our example templates through static configuration. Add the following to the
catalog:
locations:
# Backstage Example Templates
- type: github
- type: url
target: https://github.com/spotify/backstage/blob/master/plugins/scaffolder-backend/sample-templates/react-ssr-template/template.yaml
- type: github
- type: url
target: https://github.com/spotify/backstage/blob/master/plugins/scaffolder-backend/sample-templates/springboot-grpc-template/template.yaml
- type: github
- type: url
target: https://github.com/spotify/backstage/blob/master/plugins/scaffolder-backend/sample-templates/create-react-app/template.yaml
- type: github
- type: url
target: https://github.com/spotify/cookiecutter-golang/blob/master/template.yaml
```