Skip to content

Commit

Permalink
Prevent ci from running redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Oct 3, 2023
1 parent c4f60e0 commit 956b1f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/EventSubscriber/EventSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public function onEntityInsert(EntityInsertEvent $event) {
public function onEntityPreSave(EntityPresaveEvent $event) {
$entity = $event->getEntity();
if (
!getenv('CI') &&
$entity->getEntityTypeId() == 'config_pages' &&
$entity->bundle() == 'stanford_basic_site_settings'
) {
Expand Down

0 comments on commit 956b1f3

Please sign in to comment.