Skip to content

Commit 2c29303

Browse files
committed
Fixing env var for deploy
1 parent 76d0d9d commit 2c29303

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

app/config/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
imports:
22
- { resource: parameters.yml }
3+
- { resource: parameters.php }
34
- { resource: security.yml }
45
- { resource: services.yml }
56
- { resource: github.yml }

app/config/parameters.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?php
2+
3+
if (getenv('github_token')) {
4+
$container->setParameter('github_token', getenv('github_token'));
5+
}

0 commit comments

Comments
 (0)