diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 6d15af4..6281334 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -14,13 +14,21 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - lfs: true - # ssh-key: ${{ secrets.RUNNER_SSH_PRIVATE_KEY }} - # ssh-known-hosts: ${{ secrets.INSTANCE_SSH_PUBLIC_KEY }} - github-server-url: "http://192.168.3.100:3000" - env: - GIT_TRACE: 1 - GIT_CURL_VERBOSE: 1 + lfs: false + persist-credentials: false + # github-server-url: "http://192.168.3.100:3000" + # env: + # GIT_TRACE: 1 + # GIT_CURL_VERBOSE: 1 + - name: setup private key + shell: bash + run: | + echo "${{ secrets.RUNNER_SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 + - name: git lfs pull + shell: bash + run: | + git remote set-url origin git@your-ghes-domain.com:foo/foo.git + git lfs pull - name: Login to DockerHub uses: docker/login-action@v2