From 08a13bcd0f3fcc581a736762dfe25a8e6cd64226 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Sat, 30 May 2026 16:57:42 +0200 Subject: [PATCH] ci: remplace actions/checkout par git clone natif (runner host sans node) --- .gitea/workflows/deploy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 3a24293..c8db93b 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -14,14 +14,17 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + run: | + rm -rf workspace + git clone http://192.168.1.18:3000/Shaz/Le-site-de-ma-mamounette.git workspace + cd workspace && git checkout ${{ gitea.sha }} - name: Login au registry Gitea run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login gitea.lan -u shaz --password-stdin - name: Build & push image run: | - docker build -t ${{ env.IMAGE }}:latest . + docker build -t ${{ env.IMAGE }}:latest workspace/ docker push ${{ env.IMAGE }}:latest - name: Déployer sur le serveur