Merge branch 'update-single-optins' into 'develop'
feat: ✨ add crm question id variable environnement
See merge request ldc-web/projets/espri-restauration!13
This commit is contained in:
commit
dcb7fdae96
5 changed files with 27 additions and 15 deletions
|
|
@ -51,4 +51,5 @@ LDCWEB_API_TOKEN=
|
|||
# CRM
|
||||
CRM_ENDPOINT=
|
||||
CRM_TOKEN=
|
||||
CRM_PASSWORD=
|
||||
CRM_PASSWORD=
|
||||
CRM_QUESTION_ID=
|
||||
|
|
@ -9,7 +9,10 @@
|
|||
{
|
||||
"type": "composer",
|
||||
"url": "https://wpackagist.org",
|
||||
"only": ["wpackagist-plugin/*", "wpackagist-theme/*"]
|
||||
"only": [
|
||||
"wpackagist-plugin/*",
|
||||
"wpackagist-theme/*"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "composer",
|
||||
|
|
@ -40,7 +43,7 @@
|
|||
"wpackagist-plugin/wp-crontrol": "^1.16",
|
||||
"wpengine/advanced-custom-fields-pro": "^6.3",
|
||||
"uwil/espri-restauration-theme": "^1.0",
|
||||
"ldc/ldccrmv4client": "^4.0"
|
||||
"ldc/ldccrmv4client": "^4.1.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"squizlabs/php_codesniffer": "^3.11",
|
||||
|
|
@ -64,10 +67,16 @@
|
|||
"prefer-stable": true,
|
||||
"extra": {
|
||||
"installer-paths": {
|
||||
"public/app/mu-plugins/{$name}/": ["type:wordpress-muplugin",
|
||||
"wpengine/advanced-custom-fields-pro"],
|
||||
"public/app/plugins/{$name}/": ["type:wordpress-plugin"],
|
||||
"public/app/themes/{$name}/": ["type:wordpress-theme"]
|
||||
"public/app/mu-plugins/{$name}/": [
|
||||
"type:wordpress-muplugin",
|
||||
"wpengine/advanced-custom-fields-pro"
|
||||
],
|
||||
"public/app/plugins/{$name}/": [
|
||||
"type:wordpress-plugin"
|
||||
],
|
||||
"public/app/themes/{$name}/": [
|
||||
"type:wordpress-theme"
|
||||
]
|
||||
},
|
||||
"wordpress-install-dir": "public/wp"
|
||||
},
|
||||
|
|
|
|||
14
composer.lock
generated
14
composer.lock
generated
|
|
@ -4,7 +4,7 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "a6516fd4ebebba0934322dbfafb3a1ae",
|
||||
"content-hash": "756f7102745afe5b7d22267762cb9a0d",
|
||||
"packages": [
|
||||
{
|
||||
"name": "composer/installers",
|
||||
|
|
@ -632,16 +632,16 @@
|
|||
},
|
||||
{
|
||||
"name": "ldc/ldccrmv4client",
|
||||
"version": "4.0.9",
|
||||
"version": "4.1.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "git@lab.s-web.fr:ldc-web/projets/crm-client.git",
|
||||
"reference": "b54f61add50e93c68d26cadbe55d29216fcfc666"
|
||||
"reference": "3cd9a83dd2bff44313462cdc565a348d0f935720"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://lab.s-web.fr/api/v4/projects/26/packages/composer/archives/ldc/ldccrmv4client.zip?sha=b54f61add50e93c68d26cadbe55d29216fcfc666",
|
||||
"reference": "b54f61add50e93c68d26cadbe55d29216fcfc666",
|
||||
"url": "https://lab.s-web.fr/api/v4/projects/26/packages/composer/archives/ldc/ldccrmv4client.zip?sha=3cd9a83dd2bff44313462cdc565a348d0f935720",
|
||||
"reference": "3cd9a83dd2bff44313462cdc565a348d0f935720",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -3656,6 +3656,6 @@
|
|||
"platform": {
|
||||
"php": ">=8.0"
|
||||
},
|
||||
"platform-dev": [],
|
||||
"plugin-api-version": "2.3.0"
|
||||
"platform-dev": {},
|
||||
"plugin-api-version": "2.6.0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,4 +53,5 @@ Config::define('LDCWEB_API_TOKEN', env('LDCWEB_API_TOKEN'));
|
|||
// CRM
|
||||
Config::define('CRM_ENDPOINT', env('CRM_ENDPOINT'));
|
||||
Config::define('CRM_TOKEN', env('CRM_TOKEN'));
|
||||
Config::define('CRM_PASSWORD', env('CRM_PASSWORD'));
|
||||
Config::define('CRM_PASSWORD', env('CRM_PASSWORD'));
|
||||
Config::define('CRM_QUESTION_ID', env('CRM_QUESTION_ID'));
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ data:
|
|||
CRM_ENDPOINT: "${APP_CRM_ENDPOINT}"
|
||||
CRM_TOKEN: "${APP_CRM_TOKEN}"
|
||||
CRM_PASSWORD: "${APP_CRM_PASSWORD}"
|
||||
CRM_QUESTION_ID: "${APP_CRM_QUESTION_ID}"
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue