Browse Source

Use configDir for env-dependent config

master
Hannes Körber 5 months ago
parent
commit
2e66a05837
  1. 1
      .drone.yml
  2. 0
      config/_default/config.yaml
  3. 2
      config/development/config.yaml
  4. 2
      config/preview/config.yaml
  5. 2
      config/production/config.yaml

1
.drone.yml

@ -66,6 +66,7 @@ steps:
--minify
--buildDrafts
--buildFuture
--environment preview
--destination ./public/
- chmod -R o+rX ./public/

0
config.yaml → config/_default/config.yaml

2
config/development/config.yaml

@ -0,0 +1,2 @@
params:
allow_robots: false

2
config/preview/config.yaml

@ -0,0 +1,2 @@
params:
allow_robots: false

2
config/production/config.yaml

@ -0,0 +1,2 @@
params:
allow_robots: true
Loading…
Cancel
Save