From 4b2a4bfb52e81ee268b3b3066a409464c093b005 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Mon, 25 Dec 2023 16:32:58 -0500 Subject: [PATCH] fix(ci): add git token to update secrets repo --- .forgejo/workflows/cachix.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/cachix.yml b/.forgejo/workflows/cachix.yml index 8641c46..65e2b7f 100644 --- a/.forgejo/workflows/cachix.yml +++ b/.forgejo/workflows/cachix.yml @@ -14,14 +14,21 @@ jobs: - name: Setup-Nix uses: https://github.com/cachix/install-nix-action@v24 - - uses: https://github.com/yaxitech/nix-install-pkgs-action@v3 + + - name: Install-nixci + uses: https://github.com/yaxitech/nix-install-pkgs-action@v3 with: packages: "nixpkgs#nixci" - - uses: https://github.com/cachix/cachix-action@v12 + + - name: Setup-cachix + uses: https://github.com/cachix/cachix-action@v12 with: name: archives authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' - - name: Build configs + - name: Build-configs run: | + eval `ssh-agent -s` + ssh-add - <<< '${{ secrets.PRIVATE_SSH_KEY }}' + nix flake update nixci