skip clone if repo mounted
Some checks failed
App Image CI / Build app image (push) Successful in -1m25s
Docker Image CI / Build build images (arch) (push) Successful in -10s
Docker Image CI / Build build images (artix) (push) Successful in -37s
NPM Audit Check / Check NPM audit (push) Failing after -2m10s

This commit is contained in:
2025-10-25 02:05:37 -05:00
parent abceb07c1a
commit a6d35036f3

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 || exit $?
fi
cd /home/user/pkg && \
checkoutCommit && \
applyPatch && \