fix: force git reset on deploy + toast persistant de génération
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 23s
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 23s
- Remplace git pull par git fetch + git reset --hard origin/main dans le workflow CI pour éviter les conflits avec les fichiers locaux - Ajoute un toast Sonner persistant (duration: Infinity) dès le clic sur Générer, qui survit à la navigation et se met à jour en succès/erreur avec action directe (Télécharger / Ouvrir) Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -121,7 +121,8 @@ jobs:
|
||||
|
||||
echo "=== Git pull ==="
|
||||
git config --global --add safe.directory /opt/memento
|
||||
git pull origin main
|
||||
git fetch origin main
|
||||
git reset --hard origin/main
|
||||
|
||||
echo "=== Building ==="
|
||||
docker compose build memento-note
|
||||
|
||||
Reference in New Issue
Block a user