From e7b6cef91d0e4a00744c16688ee43763977e5b9c Mon Sep 17 00:00:00 2001 From: Tom Hubrecht Date: Tue, 5 Dec 2023 21:33:07 +0100 Subject: [PATCH] feat: Update ssg cache workflow --- .forgejo/workflows/cache-ssg.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/cache-ssg.yaml b/.forgejo/workflows/cache-ssg.yaml index 5025c14..b20816c 100644 --- a/.forgejo/workflows/cache-ssg.yaml +++ b/.forgejo/workflows/cache-ssg.yaml @@ -5,6 +5,7 @@ on: push: paths: - 'ssg/**' + - '.forgejo/workflows/cache-ssg.yaml' jobs: build-cache: @@ -15,7 +16,7 @@ jobs: path: dgnum.eu - name: Install sudo - run: apt update && apt install sudo + run: apt-get update && apt-get install sudo - name: Install Nix uses: https://github.com/cachix/install-nix-action@v22 @@ -24,8 +25,7 @@ jobs: - name: Install attic, build and cache run: | - nix-env -iA npins + nix-env -i npins -f '' npins init npins add github zhaofengli attic -b main -