lfs fetch first
This commit is contained in:
parent
fc955dc923
commit
60242fe829
1 changed files with 5 additions and 3 deletions
|
@ -4,9 +4,11 @@ pipeline:
|
|||
image: nixpkgs/nix-flakes:latest
|
||||
pull: true
|
||||
commands:
|
||||
- nix --no-sandbox develop --eval-store /var/build-nix-store -c git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
|
||||
- nix --no-sandbox develop --eval-store /var/build-nix-store -c git lfs fetch --all
|
||||
- nix --no-sandbox develop --eval-store /var/build-nix-store -c git push github --all --force
|
||||
- mkdir -p ~/.config/nix
|
||||
- echo "store = /var/build-nix-store" >> ~/.config/nix/nix.conf
|
||||
- nix develop -c git lfs fetch --all
|
||||
- nix develop -c git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
|
||||
- nix develop -c git push github --all --force
|
||||
secrets: [ github_token ]
|
||||
volumes:
|
||||
- /var/lib/woodpecker/nix-store:/var/build-nix-store
|
Loading…
Reference in a new issue