ci
This commit is contained in:
9
server/refresh.sh
Normal file
9
server/refresh.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
# Répertoire git : /usr/share/nginx/html (sparse checkout limité à content/).
|
||||
cd /usr/share/nginx/html || exit 1
|
||||
|
||||
while true; do
|
||||
echo "Pulling latest changes from origin/main (sparse content/)..."
|
||||
git pull origin main || echo "git pull failed, will retry in 300s"
|
||||
sleep 300
|
||||
done
|
||||
Reference in New Issue
Block a user