skip cloning if directory exists (aka mounted)
Some checks failed
App Image CI / Build app image (push) Successful in 28m39s
Docker Image CI / Build build images (arch) (push) Successful in -7s
Docker Image CI / Build build images (artix) (push) Successful in -38s
NPM Audit Check / Check NPM audit (push) Failing after -2m10s

This commit is contained in:
2025-10-25 00:32:49 -05:00
parent abceb07c1a
commit b2597a4a01

View File

@@ -34,8 +34,9 @@ changeDir() {
fi
}
# Clone the git repo
git clone "$REPO" /home/user/pkg && \
if [ ! -d "/home/user/pkg" ]; then
git clone "$REPO" /home/user/pkg && \
fi
cd /home/user/pkg && \
checkoutCommit && \
applyPatch && \