Add storyblok/symfony-bundle 1.3 recipe (#1790)

* Add `storyblok/symfony-bundle` `1.3` recipe

* Update storyblok/symfony-bundle/1.3/config/routes/storyblok.yaml
This commit is contained in:
Silas Joisten
2025-05-06 08:00:10 +00:00
committed by GitHub
parent 25b3e874a2
commit d9042d9bb8
3 changed files with 38 additions and 0 deletions
@@ -0,0 +1,18 @@
storyblok:
base_uri: '%env(STORYBLOK_API_BASE_URI)%'
token: '%env(STORYBLOK_API_TOKEN)%'
# version: '%env(STORYBLOK_VERSION)%'
# assets_token: '%env(STORYBLOK_ASSETS_API_TOKEN)%'
# webhook_secret: '%env(STORYBLOK_WEBHOOK_SECRET)%'
# auto_resolve_relations: true
# controller:
# ascending_redirect_fallback: true
when@prod:
storyblok:
controller:
cache:
public: true
max_age: 3600
smax_age: 3600
must_revalidate: true
@@ -0,0 +1,5 @@
storyblok_webhook:
resource: '@StoryblokBundle/config/routes/webhook.php'
storyblok_content_type:
resource: '@StoryblokBundle/config/routes/content_type.php'
@@ -0,0 +1,15 @@
{
"bundles": {
"Storyblok\\Bundle\\StoryblokBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"STORYBLOK_API_BASE_URI": "https://api.storyblok.com",
"STORYBLOK_API_TOKEN": "",
"#1": "STORYBLOK_VERSION=",
"#2": "STORYBLOK_ASSETS_API_TOKEN=",
"#3": "STORYBLOK_WEBHOOK_SECRET="
}
}