feat(gh): use agenix to automatically authenticate gh cli

This commit is contained in:
Youwen Wu 2024-12-27 18:14:36 -08:00
parent 78c323fd5f
commit 02361e42cf
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 8 additions and 0 deletions

View file

@ -24,5 +24,12 @@
group = "users"; group = "users";
mode = "600"; mode = "600";
}; };
github_cli_secret_config = {
file = ./github_cli_secret_config.age;
owner = "youwen";
group = "users";
mode = "600";
path = "/home/youwen/.config/gh/hosts.yml";
};
}; };
} }

Binary file not shown.

View file

@ -10,4 +10,5 @@ in
"youwen_ucsb_client_id.age".publicKeys = users ++ systems; "youwen_ucsb_client_id.age".publicKeys = users ++ systems;
"youwen_ucsb_client_secret.age".publicKeys = users ++ systems; "youwen_ucsb_client_secret.age".publicKeys = users ++ systems;
"tincan_app_password.age".publicKeys = users ++ systems; "tincan_app_password.age".publicKeys = users ++ systems;
"github_cli_secret_config.age".publicKeys = users ++ systems;
} }