diff --git a/.woodpecker.yml b/.woodpecker.yml index 377e152d..e365fa5a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,4 +6,12 @@ pipeline: commands: - nix --no-sandbox flake metadata - nix --no-sandbox develop --eval-store ./nix-store -c statix check ./nixos + secrets: [ github_token ] + push_to_github: + image: nixpkgs/nix-flakes:latest + pull: true + commands: | + git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git + git push github --all --force + secrets: [ github_token ]