Tucker McKnight
rename 'artifactSteps' to 'buildSteps'
83
if (typeof repoConfig.artifactSteps !== 'undefined') {
83
if (typeof repoConfig.buildSteps !== 'undefined') {
92 93 94
for (let artifactStep of repoConfig.artifactSteps) {
await exec(`(cd ${tempDirRepoPath} && ${artifactStep.command})`)
await exec(`cp -r ${tempDirRepoPath}/${artifactStep.copyFrom} ${directories.output}${eleventyConfig.getFilter("slugify")(repoName)}/branches/${eleventyConfig.getFilter("slugify")(branch)}/${artifactStep.copyTo}`)
92 93 94
for (let buildStep of repoConfig.buildSteps) {
await exec(`(cd ${tempDirRepoPath} && ${buildStep.command})`)
await exec(`cp -r ${tempDirRepoPath}/${buildStep.copyFrom} ${directories.output}${eleventyConfig.getFilter("slugify")(repoName)}/branches/${eleventyConfig.getFilter("slugify")(branch)}/${buildStep.copyTo}`)
58
artifactSteps?: {
58
buildSteps?: