Remove logging/debug lines for build steps

db0aed37db3983b61860d87a9fc0f929a58cb107

Tucker McKnight <tucker@pangolin.lan> | Mon Jan 12 2026

Remove logging/debug lines for build steps

Seems to be a problem that happens with a specific git version.
Couldn't figure out what the issue was.

Also add name of mithril server side rendering branch name to wiki.
README.md:45
Before
44
45
46
  }
```

test
After
44
45
  }
```
⁣
main.ts:109
Before
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
          const tempDir = `${directories.output.replace("./", "")}${reposPath}${tempDirName}`
          const tempDirRepoPath = `${tempDir}/${eleventyConfig.getFilter("slugify")(repoName)}`
          await exec(`mkdir ${tempDir}`)
          const cloneResult = await exec(`git clone -s ${directories.output}${eleventyConfig.getFilter("slugify")(repoName)}.git ${tempDirRepoPath}`)
          console.log("clone result awaited")
          console.log(cloneResult)
          for (let branch of repoConfig.branchesToPull) {
            console.log(`in branch ${branch}, ls tempdirrepopath then checkout ${branch}`)
            console.log(await exec(`ls -lha ${tempDirRepoPath}`))
            // TODO why doesn't git -C checkout work? Says that repo doesn't exist
            console.log('pwd is')
            console.log(await exec('pwd'))
            console.log(`cwd is ${process.cwd()}`)
            await exec(`(sleep 1 && cd ${tempDirRepoPath} && sleep 1 && git checkout ${branch})`)
            for (let buildStep of repoConfig.buildSteps) {
              // Run the command for each step in each branch
              console.log(`cding into ${tempDirRepoPath}`)
              await exec(`(cd ${tempDirRepoPath} && ${buildStep.command})`)
              // Copy the specified folders from the "from" to the "to" dir
              await exec(`cp -r ${tempDirRepoPath}/${buildStep.copyFrom} ${directories.output}${eleventyConfig.getFilter("slugify")(repoName)}/branches/${eleventyConfig.getFilter("slugify")(branch)}/${buildStep.copyTo}`)
After
108
109
110
111


112


113



114
115
116

117
118
          const tempDir = `${directories.output.replace("./", "")}${reposPath}${tempDirName}`
          const tempDirRepoPath = `${tempDir}/${eleventyConfig.getFilter("slugify")(repoName)}`
          await exec(`mkdir ${tempDir}`)
          await exec(`git clone -s ${directories.output}${eleventyConfig.getFilter("slugify")(repoName)}.git ${tempDirRepoPath}`)
⁣
⁣
          for (let branch of repoConfig.branchesToPull) {
⁣
⁣
            // TODO why doesn't git -C checkout work? Says that repo doesn't exist
⁣
⁣
⁣
            await exec(`(cd ${tempDirRepoPath} && git checkout ${branch})`)
            for (let buildStep of repoConfig.buildSteps) {
              // Run the command for each step in each branch
⁣
              await exec(`(cd ${tempDirRepoPath} && ${buildStep.command})`)
              // Copy the specified folders from the "from" to the "to" dir
              await exec(`cp -r ${tempDirRepoPath}/${buildStep.copyFrom} ${directories.output}${eleventyConfig.getFilter("slugify")(repoName)}/branches/${eleventyConfig.getFilter("slugify")(branch)}/${buildStep.copyTo}`)
wiki/index.md:16
Before
15
16
17

18
19
  - Goal: allow users to specify a glob pattern (like `deploy/**`) instead of spelling out every branch name in full in their config file
  - [Project page](./projects/branch-globs.md.html)
- [ ] Better Template Readability
⁣
  - Goal: Do not simply have a bunch of strings as the HTML for the default virtual
    template. Maybe look into using mithril for server-side rendering?
  - This will also make the code look much less "ewww" for possible new contributors.
After
15
16
17
18
19
20
  - Goal: allow users to specify a glob pattern (like `deploy/**`) instead of spelling out every branch name in full in their config file
  - [Project page](./projects/branch-globs.md.html)
- [ ] Better Template Readability
  - git-branch: `mithril-server-side-rendering`
  - Goal: Do not simply have a bunch of strings as the HTML for the default virtual
    template. Maybe look into using mithril for server-side rendering?
  - This will also make the code look much less "ewww" for possible new contributors.