From 0e466859a75e2a3965f279b18b0912a680c2bbe7 Mon Sep 17 00:00:00 2001 From: Marek Fajkus Date: Tue, 28 Nov 2023 20:06:01 +0100 Subject: [PATCH] change nix action --- .github/workflows/publish-website.yaml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish-website.yaml b/.github/workflows/publish-website.yaml index b6d2d0b..81bda1b 100644 --- a/.github/workflows/publish-website.yaml +++ b/.github/workflows/publish-website.yaml @@ -27,8 +27,9 @@ jobs: ssh-key: ${{ secrets.GIT_SSH_KEY }} ssh-known-hosts: ${{ secrets.KNOWN_HOSTS }} - - name: Install nix - uses: cachix/install-nix-action@v18 + # Nix + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main - name: Create anonymized repo run: nix run github:ictunion/git-anonymize -- . -o /tmp/anonymized -n 'ICT Guerrilla' -e 'ictguerrilla@proton.me' -r HEAD production @@ -61,10 +62,9 @@ jobs: ssh-key: ${{ secrets.GIT_SSH_KEY }} ssh-known-hosts: ${{ secrets.KNOWN_HOSTS }} - - name: Install nix - uses: cachix/install-nix-action@v18 - with: - nix_path: nixpkgs=channel:nixos-unstable + # Nix + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main - name: Current time run: date +%c @@ -96,10 +96,9 @@ jobs: ssh-key: ${{ secrets.GIT_SSH_KEY }} ssh-known-hosts: ${{ secrets.KNOWN_HOSTS }} - - name: Install nix - uses: cachix/install-nix-action@v18 - with: - nix_path: nixpkgs=channel:nixos-unstable + # Nix + - uses: DeterminateSystems/nix-installer-action@main + - uses: DeterminateSystems/magic-nix-cache-action@main - name: Current time run: date +%c