diff options
author | Franck Cuny <franck@fcuny.net> | 2022-11-06 11:37:44 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-11-06 19:17:49 -0800 |
commit | be18707da4146656f98db1aa175c4b550336268e (patch) | |
tree | fe0ee9cf9404fa7363e435bb8ca469dbdfd15df9 | |
parent | ci: add drone's configuration to deploy the site (diff) | |
download | fcuny.net-be18707da4146656f98db1aa175c4b550336268e.tar.gz |
fix(drone): specify the path to `awk' in the deployment script
-rw-r--r-- | flake.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix index 1821893..b9a6b62 100644 --- a/flake.nix +++ b/flake.nix @@ -44,8 +44,7 @@ set -euxo pipefail export PATH="${pkgs.lib.makeBinPath [(pkgs.docker.override { clientOnly = true; }) pkgs.flyctl]}:$PATH" archive=${self.packages.x86_64-linux.container} - # load archive, drop all output except last line case of warnings), print image name - image=$(docker load < $archive | tail -n1 | awk '{ print $3; }') + image=$(docker load < $archive | tail -n1 | ${pkgs.gawk}/bin/awk '{ print $3; }') flyctl deploy --image $image --local-only ''; hugo = pkgs.writeShellScriptBin "hugo" '' |