From 1f04bfb35ec5cbb7bf1efb6a7ee7864c10894c5c Mon Sep 17 00:00:00 2001 From: shockrah Date: Sun, 29 Sep 2024 14:05:31 -0700 Subject: [PATCH] simpler --- .gitea/workflows/test.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index afcc0b0..a8e3c8f 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -22,12 +22,9 @@ jobs: lfs-clone-public: runs-on: ubuntu-latest steps: - - name: Preflight - run: pwd && ls -R - - name: Git clone - run: git clone --depth 1 https://git.shockrah.xyz/shockrah/test.git - - name: Setup git lfs - run: git lfs pull && pwd - working-directory: ${{ github.event.repository.name }} - - name: Detailed file listing - run: pwd && ls -laRt + - run: pwd && ls -R + - run: git init -b ${{ gitea.head_ref }} + - run: git remote add origin https://git.shockrah.xyz/shockrah/test.git + - run: git pull + - run: git lfs pull + - run: pwd && ls -Ral