diff --git a/nix/gitlab-ci/default.nix b/nix/gitlab-ci/default.nix index 7678ba5ac1..830a938382 100644 --- a/nix/gitlab-ci/default.nix +++ b/nix/gitlab-ci/default.nix @@ -39,6 +39,17 @@ let nixCache-x86_64-darwin = macOS "x86_64-darwin"; nixCache-aarch64-darwin = macOS "aarch64-darwin"; + flipperzero-firmware = { + stage = "deploy-other"; + needs = [{ job = "nixCache-x86_64-linux"; artifacts = false; }]; + tags = [ "cacher" ]; + only.refs = [ "branch/default" ]; + + script = '' + export NIX_PATH=nixpkgs=$(readlink -f third_party/nixpkgs) + $(nix-build -A nix.pkgs.flipperzero-firmware.upload)/bin/upload-f0 + ''; + }; lukegbcom = { stage = "deploy-other"; needs = [{ job = "nixCache-x86_64-linux"; artifacts = false; }];