add volume cache
This commit is contained in:
parent
031a2bfd7d
commit
a87dd71bbd
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,8 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- nix --no-sandbox flake info
|
- nix --no-sandbox flake info
|
||||||
- nix --no-sandbox develop -c statix check
|
- nix --no-sandbox develop -c statix check
|
||||||
|
volumes:
|
||||||
|
- /var/lib/woodpecker/cache/nixstore:/nix/store
|
||||||
|
|
||||||
push-to-sourcehut:
|
push-to-sourcehut:
|
||||||
image: nixpkgs/nix-flakes:latest
|
image: nixpkgs/nix-flakes:latest
|
||||||
|
@ -16,6 +18,7 @@ pipeline:
|
||||||
- echo "$SSH_PUBLIC_KEY" > ~/.ssh/id_ed25519.pub
|
- echo "$SSH_PUBLIC_KEY" > ~/.ssh/id_ed25519.pub
|
||||||
- echo "StrictHostKeyChecking=accept-new" >> ~/.ssh/config
|
- echo "StrictHostKeyChecking=accept-new" >> ~/.ssh/config
|
||||||
- chmod 0400 ~/.ssh/ -R
|
- chmod 0400 ~/.ssh/ -R
|
||||||
|
- ls -hal ~/.ssh/
|
||||||
- git remote add sourcehut git@git.sr.ht:~cyplo/dotfiles
|
- git remote add sourcehut git@git.sr.ht:~cyplo/dotfiles
|
||||||
- git push sourcehut --tags --force-with-lease
|
- git push sourcehut --tags --force-with-lease
|
||||||
- git push sourcehut --all --force-with-lease
|
- git push sourcehut --all --force-with-lease
|
||||||
|
|
Loading…
Reference in a new issue