From a87dd71bbd9939c40c1a7172f2a53bb56cc36bc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Tue, 8 Nov 2022 18:10:50 +0000 Subject: [PATCH] add volume cache --- .woodpecker.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 933c89a1..453433e6 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -5,6 +5,8 @@ pipeline: commands: - nix --no-sandbox flake info - nix --no-sandbox develop -c statix check + volumes: + - /var/lib/woodpecker/cache/nixstore:/nix/store push-to-sourcehut: image: nixpkgs/nix-flakes:latest @@ -16,6 +18,7 @@ pipeline: - echo "$SSH_PUBLIC_KEY" > ~/.ssh/id_ed25519.pub - echo "StrictHostKeyChecking=accept-new" >> ~/.ssh/config - chmod 0400 ~/.ssh/ -R + - ls -hal ~/.ssh/ - git remote add sourcehut git@git.sr.ht:~cyplo/dotfiles - git push sourcehut --tags --force-with-lease - git push sourcehut --all --force-with-lease