UNPKG

@ycmd/creds

Version:

LSK.js CLI Creds is the easiest way to manage GitHub / Gitlab secrets and credentials

10 lines (8 loc) 584 B
import { a as a$1 } from './chunk-XAFYPQQ4.js'; import { a } from './chunk-CSGQ5YH5.js'; import { readFile } from 'node:fs/promises'; import { map } from 'fishbird'; async function F(t,i){let c=i.buildDir||`${t}/build`,o=await a$1(t,i),{config:n}=o,{files:s=[],variables:l,secrets:f,hooks:m}=n,u=await map(s,async a=>{let{filename:d}=a,p=await readFile(`${c}/${d}`).then(w=>w.toString());return {...a,content:p}});await o.uploadAll({files:u,variables:l,secrets:f,hooks:m});}a(F,"upload"); export { F as a }; //# sourceMappingURL=out.js.map //# sourceMappingURL=chunk-CPH7EM5N.js.map