log more details to cloning script. updated primeoctet

This commit is contained in:
Dobromir Popov
2024-12-05 14:24:44 +02:00
parent 7c21406ef5
commit 1d9282cea1
4 changed files with 7 additions and 6 deletions

View File

@ -3,7 +3,7 @@
if [ "$UPDATE_CODE_FROM_GIT" = "true" ]; then
# Install necessary packages
apk add git nano rsync
echo "Updating code from git.d-popov.com...(as '$GIT_USERNAME')" > /app/logs/deploy.txt
echo "Updating code from git.d-popov.com...(as '$GIT_USERNAME'). Branch: ${GIT_BRANCH:main}" > /app/logs/deploy.txt
# Create a temporary directory for the new clone
rm -rf /tmp/clone