dotfiles/.woodpecker/sync.yml

12 lines
No EOL
536 B
YAML

pipeline:
push_to_github:
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
secrets: [ github_token ]
volumes:
- /var/lib/woodpecker/nix-store:/var/build-nix-store