From 74191c32fb39e7b4df13082d403b3b454c8ebbab Mon Sep 17 00:00:00 2001 From: Arnie Date: Sun, 3 Nov 2024 23:18:25 +0100 Subject: [PATCH] Add github push command --- flake.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/flake.nix b/flake.nix index 156875b..610320e 100644 --- a/flake.nix +++ b/flake.nix @@ -108,6 +108,14 @@ nix fmt ./*.nix ''; }; + + github-push = { + description = "Push current branch to github, lazy workaround for automated mirror. TODO: Automate"; + exec = '' + b=$(git rev-parse --abbrev-ref HEAD) + git push git@github.com:Sharsie/control4-utils.git "$b":"$b" + ''; + }; }; } ];