dotfiles/.woodpecker/sync.yml

10 lines
358 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 push github --all --force
secrets: [ github_token ]