| … | … | @@ -833,6 +833,11 @@ echo "[post-receive] Auto-deploy triggered for $REPO_NAME" |
| 833 | 833 | if (entry.endsWith('.git')) { |
| 834 | 834 | const isBare = await this.isBareRepo(fullPath) |
| 835 | 835 | if (isBare) { |
| 836 | // Skip repos with .pear-git-ignore marker | |
| 837 | const ignoreMarker = path.join(fullPath, '.pear-git-ignore') | |
| 838 | const markerExists = await fs.promises.stat(ignoreMarker).catch(() => null) | |
| 839 | if (markerExists) continue | |
| 840 | ||
| 836 | 841 | const repoName = entry.replace(/\.git$/, '') |
| 837 | 842 | const repoInfo = await this.getRepoInfo(fullPath, repoName) |
| 838 | 843 | if (repoInfo) { |