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