Skip to content

Commit

Permalink
Fix documentation of pixi upload to refer to correct API endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
traversaro authored Sep 18, 2024
1 parent cc64458 commit f243d1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ Upload a package to a prefix.dev channel
2. `<PACKAGE_FILE>`: The package file to upload.

```shell
pixi upload repo.prefix.dev/my_channel my_package.conda
pixi upload https://prefix.dev/api/v1/upload/my_channel my_package.conda
```

## `auth`
Expand Down
2 changes: 1 addition & 1 deletion src/cli/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use pixi_progress;
///
/// With this command, you can upload a conda package to a channel.
/// Example:
/// pixi upload repo.prefix.dev/my_channel my_package.conda
/// pixi upload https://prefix.dev/api/v1/upload/my_channel my_package.conda

Check failure on line 21 in src/cli/upload.rs

View workflow job for this annotation

GitHub Actions / Check intra-doc links

this URL is not a hyperlink
///
/// Use `pixi auth login` to authenticate with the server.
#[derive(Parser, Debug)]
Expand Down

0 comments on commit f243d1d

Please sign in to comment.