From b907a6c6bb579e135aa51d468cf672239e9e9090 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 3 Dec 2022 16:06:51 +0000 Subject: [PATCH] add push to github --- .woodpecker.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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 ]