Fix workflow: use git clone instead of actions/checkout (no Node.js in host mode)
Build & Deploy / deploy (push) Failing after 12m11s

This commit is contained in:
2026-06-20 09:11:55 +02:00
parent 26f4e3a308
commit 48f5256571
+4 -2
View File
@@ -9,10 +9,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - 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 - name: Build Docker image
run: docker build -t site-vitrine:latest . run: docker build -t site-vitrine:latest ./site-vitrine
- name: Deploy container - name: Deploy container
run: | run: |