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: |