Skip to content

Commit

Permalink
Updated readme and settings.pantheon.php file.
Browse files Browse the repository at this point in the history
  • Loading branch information
balagan73 committed Mar 11, 2024
1 parent 0b13d4c commit ec68888
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,6 @@ if you are using other IDE or want to know more about this feature.

## Deploy to Pantheon

### Rollbar configuration

Rollbar will be automatically enabled on test and live environments. The access tokens need to be added under '/admin/config/services/rollbar' and the rollbar configuration yml file should be committed.

### Pantheon Setup

Follow the steps listed in `.ddev/providers/pantheon.yaml`.
Expand Down
3 changes: 3 additions & 0 deletions web/sites/default/settings.pantheon.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@
if ($pantheon_env == 'live' || $pantheon_env == 'test') {
$config['rollbar.settings']['environment'] = $pantheon_site_name . '.' . $pantheon_env;
$config['rollbar.settings']['enabled'] = TRUE;
// Placeholders for adding the actual access token values.
// $config['rollbar.settings']['access_token'] = '';
// $config['rollbar.settings']['access_token_frontend'] = '';.
}
switch ($pantheon_env) {
case 'test':
Expand Down

0 comments on commit ec68888

Please sign in to comment.