Files
wehub-resource-sync f1ba9c6c36
/ test (push) Failing after 1s
/ build-and-push-to-ghcr (push) Has been skipped
chore: import upstream snapshot with attribution
2026-07-13 12:23:39 +08:00

8 lines
274 B
JavaScript
Executable File

#!/usr/bin/env node
const fs = require('fs');
const f = fs.readFileSync('.secret.local', 'utf8');
fs.writeFileSync('.secret.local.json', `${JSON.stringify(JSON.parse(Buffer.from(f.slice('SECRETS_COMBINED='.length), 'base64').toString('utf-8')), undefined, 2)}`, 'utf8');