-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpantheon.yml
61 lines (54 loc) · 1.83 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Put overrides to your pantheon.upstream.yml file here.
# For more information, see: https://pantheon.io/docs/pantheon-yml/
api_version: 1
web_docroot: true
php_version: 8.3
database:
version: 10.6
# Add Pantheon Search
search:
version: 8
# Enable Drupal-specific metrics in New Relic
new_relic:
drupal_hooks: true
# Add a comment to trigger a deploy on Pantheon
workflows:
clear_cache:
after:
- type: webphp
description: Post deployment notification to Slack
script: private/scripts/slack_deploy_notification.php
clone_database:
after:
# - type: webphp
# description: Sanitize the db using a custom drush command
# script: private/scripts/db_sanitization_portland.php
- type: webphp
description: Post deployment notification to Slack
script: private/scripts/slack_deploy_notification.php
create_cloud_development_environment:
after:
- type: webphp
description: Post deployment notification to Slack
script: private/scripts/slack_deploy_notification.php
# The deployment event for Test and Live
deploy:
after:
- type: webphp
description: Run drush deploy
script: private/scripts/drush_post_deploy.php
- type: webphp
description: Log deployment notification to New Relic
script: private/scripts/new_relic_log_deployment.php
- type: webphp
description: Post deployment notification to Slack
script: private/scripts/slack_deploy_notification.php
- type: webphp
description: Rebase Sandbox with Master
script: private/scripts/rebase_sandbox.php
# The deployment event for Dev and Multidevs
sync_code:
after:
- type: webphp
description: Log deployment notification to New Relic
script: private/scripts/new_relic_log_deployment.php