server for refapp and refbot and other stuff
0

Configure Feed

Select the types of activity you want to include in your feed.

fix: resolve refdeploy/.env path without depending on later __dirname

alpine (Jul 16, 2026, 2:57 AM +0200) 1c7e6bf9 53f5b627

+2 -1
+2 -1
scripts/release.js
··· 7 7 // Load deploy secrets + stack id from the refdeploy repo's .env so a single 8 8 // place owns them. Only fills vars that are not already set in the environment. 9 9 function loadDeployEnv() { 10 - const deployEnv = path.join(__dirname, '..', '..', 'refdeploy', '.env'); 10 + const scriptDir = path.dirname(fileURLToPath(import.meta.url)); 11 + const deployEnv = path.join(scriptDir, '..', '..', 'refdeploy', '.env'); 11 12 if (!fs.existsSync(deployEnv)) return; 12 13 for (const line of fs.readFileSync(deployEnv, 'utf8').split('\n')) { 13 14 const trimmed = line.trim();