From 48f52565711155bbe14a8295b338887b4e026a7f Mon Sep 17 00:00:00 2001 From: zola Date: Sat, 20 Jun 2026 09:11:55 +0200 Subject: [PATCH] Fix workflow: use git clone instead of actions/checkout (no Node.js in host mode) --- .gitea/workflows/deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 1125304..fe9dca4 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -9,10 +9,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + run: | + rm -rf site-vitrine + git clone --depth 1 --branch ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }}.git site-vitrine - name: Build Docker image - run: docker build -t site-vitrine:latest . + run: docker build -t site-vitrine:latest ./site-vitrine - name: Deploy container run: |