Fix sync-vps-repos.sh to reset and checkout docs/periodic-harvest-cicd-to-vps-flow-diagram.png in encyclopedia-knowledge-graph

This commit is contained in:
Hermes Agent committed 2026-12-02 10:56:49 +00:00
1 parent bacaa9d09c
commit ab5c4f57a3
1 file changed
+4
+4
View File
@@ -121,6 +121,10 @@ if [[ "${DO_PULL}" -eq 1 ]]; then
git -C "${REPOS_ROOT}/${repo}" checkout -- financial-aq-harvest-latest.json || true git -C "${REPOS_ROOT}/${repo}" checkout -- financial-aq-harvest-latest.json || true
fi fi
fi fi
if [[ -n "$(git -C "${REPOS_ROOT}/${repo}" ls-files docs/periodic-harvest-cicd-to-vps-flow-diagram.png)" ]]; then
git -C "${REPOS_ROOT}/${repo}" reset HEAD -- docs/periodic-harvest-cicd-to-vps-flow-diagram.png || true
git -C "${REPOS_ROOT}/${repo}" checkout -- docs/periodic-harvest-cicd-to-vps-flow-diagram.png || true
fi
if [[ "${repo}" == "${CI_REPO_DIR}" || "${repo}" == "ingglish-hyperdope-gematria" ]] && ! git -C "${REPOS_ROOT}/${repo}" diff --quiet 2>&1; then if [[ "${repo}" == "${CI_REPO_DIR}" || "${repo}" == "ingglish-hyperdope-gematria" ]] && ! git -C "${REPOS_ROOT}/${repo}" diff --quiet 2>&1; then
git -C "${REPOS_ROOT}/${repo}" checkout -- . || true git -C "${REPOS_ROOT}/${repo}" checkout -- . || true
fi fi