From 6d3389632bc621b96471858e9e7196e2ac5af64e Mon Sep 17 00:00:00 2001 From: HaimKortovich Date: Tue, 31 Mar 2026 16:54:10 -0500 Subject: [PATCH] checkout with git --- .gitea/workflows/build-and-publish.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build-and-publish.yaml b/.gitea/workflows/build-and-publish.yaml index f950077..1d41890 100644 --- a/.gitea/workflows/build-and-publish.yaml +++ b/.gitea/workflows/build-and-publish.yaml @@ -15,12 +15,10 @@ jobs: build-release: runs-on: nix steps: - - name: Nix Shell Nodejs + - name: Checkout via Native Git run: | - nix shell nixpkgs#nodejs - - - name: Checkout repository - uses: actions/checkout@v4 + git clone --depth 1 https://token:${{ secrets.GITHUB_TOKEN }}@${{ github.server_url }}/${{ github.repository }}.git . + git checkout ${{ github.sha }} - name: Build Docker Image via Nix Flake run: |