diff --git a/deploy.php b/deploy.php index 608ebae..d9eb938 100644 --- a/deploy.php +++ b/deploy.php @@ -39,7 +39,7 @@ $stage = input()->getArgument('stage'); } $env_file = ($stage == 'production') ? 'ENV_PROD' : 'ENV_DEV'; - file_put_contents(__DIR__ . '/.env', getenv($env_file)); + file_put_contents(__DIR__ . '/.env', base64_decode(getenv($env_file))); upload('.env', get('deploy_path') . '/shared'); });