Skip to content

Commit

Permalink
Merge pull request #368 from doctrine/fix-website-configs-build
Browse files Browse the repository at this point in the history
Fix website configs build
  • Loading branch information
SenseException committed Oct 13, 2020
2 parents 26ff28b + 12c795f commit 3e61af2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/website-configs.yml
Expand Up @@ -3,6 +3,12 @@ name: "website-configs"
on:
schedule:
- cron: "0 23 * * *"
push:
paths:
- '.github/workflows/website-configs.yml'
pull_request:
paths:
- '.github/workflows/website-configs.yml'

env:
doctrine_website_mysql_password: "${{ secrets.doctrine_website_mysql_password }}"
Expand Down
2 changes: 1 addition & 1 deletion bin/console
Expand Up @@ -10,7 +10,7 @@ use Symfony\Component\ErrorHandler\Debug;
$input = new ArgvInput();
$env = $input->getParameterOption(['--env', '-e'], 'dev');

if (class_exists(Debug::class)) {
if (class_exists(Debug::class) && $env === 'dev') {
Debug::enable();
}

Expand Down

0 comments on commit 3e61af2

Please sign in to comment.