From b8a523d13c3c5183002b4c1319a07ac8c1bb1456 Mon Sep 17 00:00:00 2001 From: truxnell <19149206+truxnell@users.noreply.github.com> Date: Wed, 24 Apr 2024 14:37:41 +1000 Subject: [PATCH] feat: add fly taskfile --- flyio/vaultwarden/Taskfile.yml | 14 ++++++++++++++ flyio/vaultwarden/flake.nix | 7 ++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 flyio/vaultwarden/Taskfile.yml diff --git a/flyio/vaultwarden/Taskfile.yml b/flyio/vaultwarden/Taskfile.yml new file mode 100644 index 0000000..14be2cb --- /dev/null +++ b/flyio/vaultwarden/Taskfile.yml @@ -0,0 +1,14 @@ +--- +# go-task runner file +version: "3" + +tasks: + default: + silent: true + cmds: + - task -l + + deploy: + desc: Deploy app + cmds: + - bash -c "doppler run -p github -c prd_vaultwarden -- fly deploy" diff --git a/flyio/vaultwarden/flake.nix b/flyio/vaultwarden/flake.nix index 3fedc74..4dc937b 100644 --- a/flyio/vaultwarden/flake.nix +++ b/flyio/vaultwarden/flake.nix @@ -19,9 +19,10 @@ { devShells = eachSystem (pkgs: { default = pkgs.mkShell { - packages = [ - pkgs.flyctl - pkgs.doppler + packages = with pkgs; [ + flyctl + doppler + go-task ]; }; });