Skip to content

Commit f4373de

Browse files
authored
feat(storyblok): Add default environment variable (#1824)
* fix * Fix * Update storyblok/symfony-bundle/0.1/manifest.json * Apply suggestions from code review
1 parent b5be2b3 commit f4373de

8 files changed

Lines changed: 16 additions & 16 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
storyblok:
22
base_uri: '%env(STORYBLOK_API_BASE_URI)%'
33
token: '%env(STORYBLOK_API_TOKEN)%'
4-
# version: '%env(STORYBLOK_VERSION)%'
4+
version: '%env(STORYBLOK_VERSION)%'
55
# assets_token: '%env(STORYBLOK_ASSETS_API_TOKEN)%'
66
# webhook_secret: '%env(STORYBLOK_WEBHOOK_SECRET)%'

storyblok/symfony-bundle/0.1/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"env": {
99
"STORYBLOK_API_BASE_URI": "https://api.storyblok.com",
1010
"STORYBLOK_API_TOKEN": "",
11-
"#1": "STORYBLOK_VERSION=",
12-
"#2": "STORYBLOK_ASSETS_API_TOKEN=",
13-
"#3": "STORYBLOK_WEBHOOK_SECRET="
11+
"STORYBLOK_VERSION": "draft",
12+
"#1": "STORYBLOK_ASSETS_API_TOKEN=",
13+
"#2": "STORYBLOK_WEBHOOK_SECRET="
1414
}
1515
}

storyblok/symfony-bundle/1.2/config/packages/storyblok.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
storyblok:
22
base_uri: '%env(STORYBLOK_API_BASE_URI)%'
33
token: '%env(STORYBLOK_API_TOKEN)%'
4-
# version: '%env(STORYBLOK_VERSION)%'
4+
version: '%env(STORYBLOK_VERSION)%'
55
# assets_token: '%env(STORYBLOK_ASSETS_API_TOKEN)%'
66
# webhook_secret: '%env(STORYBLOK_WEBHOOK_SECRET)%'
77
# auto_resolve_relations: true

storyblok/symfony-bundle/1.2/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"env": {
99
"STORYBLOK_API_BASE_URI": "https://api.storyblok.com",
1010
"STORYBLOK_API_TOKEN": "",
11-
"#1": "STORYBLOK_VERSION=",
12-
"#2": "STORYBLOK_ASSETS_API_TOKEN=",
13-
"#3": "STORYBLOK_WEBHOOK_SECRET="
11+
"STORYBLOK_VERSION": "draft",
12+
"#1": "STORYBLOK_ASSETS_API_TOKEN=",
13+
"#2": "STORYBLOK_WEBHOOK_SECRET="
1414
}
1515
}

storyblok/symfony-bundle/1.3/config/packages/storyblok.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
storyblok:
22
base_uri: '%env(STORYBLOK_API_BASE_URI)%'
33
token: '%env(STORYBLOK_API_TOKEN)%'
4-
# version: '%env(STORYBLOK_VERSION)%'
4+
version: '%env(STORYBLOK_VERSION)%'
55
# assets_token: '%env(STORYBLOK_ASSETS_API_TOKEN)%'
66
# webhook_secret: '%env(STORYBLOK_WEBHOOK_SECRET)%'
77
# auto_resolve_relations: true

storyblok/symfony-bundle/1.3/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"env": {
99
"STORYBLOK_API_BASE_URI": "https://api.storyblok.com",
1010
"STORYBLOK_API_TOKEN": "",
11-
"#1": "STORYBLOK_VERSION=",
12-
"#2": "STORYBLOK_ASSETS_API_TOKEN=",
13-
"#3": "STORYBLOK_WEBHOOK_SECRET="
11+
"STORYBLOK_VERSION": "draft",
12+
"#1": "STORYBLOK_ASSETS_API_TOKEN=",
13+
"#2": "STORYBLOK_WEBHOOK_SECRET="
1414
}
1515
}

storyblok/symfony-bundle/1.5/config/packages/storyblok.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
storyblok:
22
base_uri: '%env(STORYBLOK_API_BASE_URI)%'
33
token: '%env(STORYBLOK_API_TOKEN)%'
4-
# version: '%env(STORYBLOK_VERSION)%'
4+
version: '%env(STORYBLOK_VERSION)%'
55
# assets_token: '%env(STORYBLOK_ASSETS_API_TOKEN)%'
66
# webhook_secret: '%env(STORYBLOK_WEBHOOK_SECRET)%'
77
# auto_resolve_relations: true

storyblok/symfony-bundle/1.5/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"env": {
1010
"STORYBLOK_API_BASE_URI": "https://api.storyblok.com",
1111
"STORYBLOK_API_TOKEN": "",
12-
"#1": "STORYBLOK_VERSION=",
13-
"#2": "STORYBLOK_ASSETS_API_TOKEN=",
14-
"#3": "STORYBLOK_WEBHOOK_SECRET="
12+
"STORYBLOK_VERSION": "draft",
13+
"#1": "STORYBLOK_ASSETS_API_TOKEN=",
14+
"#2": "STORYBLOK_WEBHOOK_SECRET="
1515
}
1616
}

0 commit comments

Comments
 (0)