From 7a8e389dcdd2aef7cda51cd469df9cff2d37581e Mon Sep 17 00:00:00 2001 From: Reyo Stallenberg Date: Mon, 29 Jun 2020 15:57:25 +0200 Subject: [PATCH] Add configuration --- .../1.0/config/packages/connectholland_uptime_robot.yaml | 2 ++ connectholland/uptime-robot-bundle/1.0/manifest.json | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 connectholland/uptime-robot-bundle/1.0/config/packages/connectholland_uptime_robot.yaml diff --git a/connectholland/uptime-robot-bundle/1.0/config/packages/connectholland_uptime_robot.yaml b/connectholland/uptime-robot-bundle/1.0/config/packages/connectholland_uptime_robot.yaml new file mode 100644 index 00000000..093d1d1c --- /dev/null +++ b/connectholland/uptime-robot-bundle/1.0/config/packages/connectholland_uptime_robot.yaml @@ -0,0 +1,2 @@ +connectholland_uptime_robot: + api_key: '%env(string:UPTIMEROBOT_API_KEY)%' diff --git a/connectholland/uptime-robot-bundle/1.0/manifest.json b/connectholland/uptime-robot-bundle/1.0/manifest.json index 8b41d73c..c533f7b2 100644 --- a/connectholland/uptime-robot-bundle/1.0/manifest.json +++ b/connectholland/uptime-robot-bundle/1.0/manifest.json @@ -2,6 +2,9 @@ "bundles": { "ConnectHolland\\UptimeRobotBundle\\ConnecthollandUptimeRobotBundle": ["all"] }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, "env": { "UPTIMEROBOT_API_KEY": "api_key" }