develop #10

Merged
glenux merged 13 commits from develop into master 2024-07-08 19:53:31 +00:00
Showing only changes of commit 9eb628314e - Show all commits

View file

@ -3,7 +3,15 @@
set -u set -u
set -e set -e
cd /var/www/html WORKDIR=/var/www/html
counter=0
while [ ! -d "$WORKDIR" ] && [ "$counter" -lt 120 ]; do
echo "GYR:POSTDEPLOY:WAITING"
counter=$((counter+1))
sleep 1
done
cd "$WORKDIR" || exit 1
echo "GYR:POSTDEPLOY:START ($(pwd))" echo "GYR:POSTDEPLOY:START ($(pwd))"
find . -maxdepth 1 find . -maxdepth 1
echo "GYR:POSTDEPLOY:UPGRADE" echo "GYR:POSTDEPLOY:UPGRADE"