Add db secrets management
All checks were successful
Website Sync / website-sync (push) Successful in 6s

This commit is contained in:
2026-02-04 17:09:36 -03:00
parent 1f58571940
commit dd751fe671
3 changed files with 44 additions and 0 deletions

View File

@@ -2,6 +2,9 @@
declare(strict_types=1);
require_once "var_loading.inc.php";
loadEnvironment(".env");
$host = "${{ secrets.DB_HOST }}";
$protocol = "${{ secrets.DB_PROTOCOL }}";
$dbname = "${{ secrets.DB_NAME }}";