mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-11 03:13:17 +00:00
Refactor getVersion.php to prevent GitHub Actions failure
This commit is contained in:
1 parent
18d5dd3090
commit
c70554e2d2
1 file changed
+6
@@ -1,4 +1,10 @@
|
||||
<?php
|
||||
|
||||
// To prevent github actions from failing
|
||||
function env()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
$version = include 'config/constants.php';
|
||||
echo $version['coolify']['version'] ?: 'unknown';
|
||||
Reference in new issue
Block a user