-
Notifications
You must be signed in to change notification settings - Fork 10
/
pantheon.yml
40 lines (40 loc) · 1.2 KB
/
pantheon.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
api_version: 1
web_docroot: true
php_version: 8.3
database:
version: 10.6
drush_version: 10
build_step: false
new_relic:
drupal_hooks: true
search:
version: 8
enforce_https: full
protected_web_paths:
- /private/
- /sites/default/files/private/
- /sites/default/files/config/
## Block urls that generate pageviews/cost on Pantheon.
- /autodiscover/autodiscover.xml
- /AutoDiscover/autodiscover.xml
workflows:
sync_code:
after:
- type: webphp
description: Database updates, config import.
script: private/scripts/drush_config_import/drush_config_import.php
- type: webphp
description: Push changes back to GitHub if needed
script: private/scripts/quicksilver/quicksilver-pushback/push-back.php
- type: webphp
description: Log to New Relic
script: private/scripts/sync_code/new_relic_deploy.php
# Log to New Relic when deploying to test or live.
deploy:
after:
- type: webphp
description: Log to New Relic
script: private/scripts/deploy/new_relic_deploy.php
- type: webphp
description: Database updates, config import.
script: private/scripts/drush_config_import/drush_config_import.php