From 4dcdb5b0adc1f578e14606201d1514feff768f00 Mon Sep 17 00:00:00 2001 From: Wesley Coakley Date: Tue, 19 Dec 2023 12:12:14 -0500 Subject: [PATCH] use nix to build --- .github/workflows/build.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 527feb8..8037065 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,16 +11,15 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v2 - - - name: Install Dependencies - run: | - sudo apt-get update - sudo apt-get install -y ikiwiki rsync + uses: actions/checkout@v3 + - uses: cachix/install-nix-action@v20 + with: + nix_path: nixpkgs=channel:nixos-23.05 + - uses: DeterminateSystems/magic-nix-cache-action@v2 - name: Build Website run: | - ikiwiki --setup ikiwiki.setup + nix-shell --run 'ikiwiki --setup ikiwiki.setup' - name: Upload to Remote Server run: |