Files
Talks/server/refresh.sh
Le Prévost-Corvellec Arnault 4ffed1b5fa
Some checks failed
Talks slides — image & chart / vars (push) Successful in 2s
Talks slides — image & chart / Build container image (push) Failing after 41s
Talks slides — image & chart / Helm chart (push) Failing after 43s
ci
2026-04-08 20:13:50 +02:00

10 lines
298 B
Bash

#!/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