diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index a04907a..339a194 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -16,7 +16,8 @@ jobs: ssh -o StrictHostKeyChecking=no -i /root/.ssh/id_home root@home.mesdonneesadministratives.fr " cd /opt/alapatch && git fetch --all && - git reset --hard origin/master && + # Correction ici : on force l'alignement sur origin/main + git reset --hard origin/main && docker build --no-cache -t alapatch-prod . && if [ \$(docker ps -aq -f name=microkorg-editor) ]; then docker stop microkorg-editor && @@ -24,3 +25,4 @@ jobs: fi && docker run -d --restart unless-stopped -p 4321:4321 --name microkorg-editor alapatch-prod " +