Tente un fixe pour la pipeline.
This commit is contained in:
@@ -5,10 +5,11 @@ const { exit } = require("process");
|
||||
|
||||
|
||||
// Fetch envs to target the right folder
|
||||
const slug = process.env["PACKAGE_NAME"];
|
||||
const workDir = process.env["CI_PROJECT_DIR"];
|
||||
const root = process.env["ENTRY_FOLDER"];
|
||||
if (!slug || !root) exit(1);
|
||||
let workingDirectory = path.join(root, slug);
|
||||
const slug = process.env["PACKAGE_NAME"];
|
||||
if (!workDir || !slug || !root) exit(1);
|
||||
let workingDirectory = path.join(workDir, root, slug);
|
||||
|
||||
// extract metadata from them
|
||||
fs.readdir(workingDirectory, (err, files) => {
|
||||
|
Reference in New Issue
Block a user