fix: updated CI workflow and added .env.make generation for CI

This commit is contained in:
2026-01-01 05:33:39 +01:00
parent 01a00a12af
commit dea81de5b5
4 changed files with 124 additions and 16 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env python3
"""Generate .env.make for CI/CD without generating secrets."""
import sys
from config_loader import load_build_config, write_env_make
def main():
"""Generate .env.make from pyproject.toml."""
try:
config = load_build_config()
write_env_make(config)
print("✅ .env.make generated successfully.")
return 0
except Exception as e:
print(f"❌ Failed to generate .env.make: {e}")
return 1
if __name__ == "__main__":
sys.exit()