From 60bccc0ca906bbfa070c577732e3d709dccc5ce2 Mon Sep 17 00:00:00 2001 From: Michael Schiemer Date: Thu, 17 Jul 2025 20:58:54 +0200 Subject: [PATCH] chore: update ci-cd.yml --- .gitea/workflows/ci-cd.yml | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 03946a04..bac1938a 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -25,7 +25,9 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v4 + run: | + git clone --depth=1 --branch=${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} . + ls -la - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -77,7 +79,9 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v4 + run: | + git clone --depth=1 --branch=${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} . + ls -la - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -105,7 +109,9 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v4 + run: | + git clone --depth=1 --branch=${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} . + ls -la - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -165,7 +171,9 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v4 + run: | + git clone --depth=1 --branch=${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} . + ls -la - name: Setup SSH run: | @@ -211,7 +219,9 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v4 + run: | + git clone --depth=1 --branch=${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} . + ls -la - name: Setup SSH run: |