diff --git a/README.md b/README.md index d3c5404..92b811e 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ cat action.yml| nix run nixpkgs#yq-go -- '[[ "Parameter", "Description", "Requir | `diagnostic-endpoint` | Diagnostic endpoint url where diagnostics and performance data is sent. To disable set this to an empty string. | | https://install.determinate.systems/magic-nix-cache/perf | | `flakehub-api-server` | The FlakeHub API server. | | https://api.flakehub.com | | `flakehub-cache-server` | The FlakeHub binary cache server. | | https://cache.flakehub.com | -| `flakehub-flake-name` | The name of your flake on FlakeHub. Defaults to the current name of the GitHub repository it is running in. | | | +| `flakehub-flake-name` | The name of your flake on FlakeHub. The empty string will autodetect your FlakeHub flake. | | `""` | | `listen` | The host and port to listen on. | | 127.0.0.1:37515 | | `source-binary` | Run a version of the cache binary from somewhere already on disk. Conflicts with all other `source-*` options. | | | | `source-branch` | The branch of `magic-nix-cache` to use. Conflicts with all other `source-*` options. | | main | diff --git a/action.yml b/action.yml index dc8006a..882f4eb 100644 --- a/action.yml +++ b/action.yml @@ -28,8 +28,8 @@ inputs: description: "The FlakeHub API server." default: "https://api.flakehub.com" flakehub-flake-name: - description: "The name of your flake on FlakeHub. Defaults to the current name of the GitHub repository it is running in." - default: ${{ github.repository }} + description: "The name of your flake on FlakeHub. The empty string will autodetect your FlakeHub flake." + default: "" required: false startup-notification-port: description: "The port magic-nix-cache uses for daemon startup notification."