dotfiles/.woodpecker/sync.yml

12 lines
439 B
YAML

pipeline:
push_to_github:
image: nixpkgs/nix-flakes:latest
pull: true
commands:
- nix --no-sandbox develop --eval-store ./nix-store -c git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
- nix --no-sandbox develop --eval-store ./nix-store -c git lfs fetch --all
- nix --no-sandbox develop --eval-store ./nix-store -c git push github --all --force
secrets: [ github_token ]