Skip to content

Commit 87dc4e4

Browse files
authored
docs: Update setup-pixi docs for pixi-url-bearer-token (#4127)
1 parent 6359d0a commit 87dc4e4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/integration/ci/github_actions.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,18 @@ If you only want to install pixi and not install the current workspace, you can
392392
run-install: false
393393
```
394394

395+
### Download pixi from a custom URL
396+
397+
You can also download pixi from a custom URL by setting the `pixi-url` input argument.
398+
Optionally, you can combine this with the `pixi-url-bearer-token` input argument to authenticate the download request.
399+
400+
```yml
401+
- uses: prefix-dev/setup-pixi@v0.8.10
402+
with:
403+
pixi-url: https://pixi-mirror.example.com/releases/download/v0.48.0/pixi-x86_64-unknown-linux-musl
404+
pixi-url-bearer-token: ${{ secrets.PIXI_MIRROR_BEARER_TOKEN }}
405+
```
406+
395407
## More examples
396408

397409
If you want to see more examples, you can take a look at the [GitHub Workflows of the `setup-pixi` repository](https://github.com/prefix-dev/setup-pixi/blob/main/.github/workflows/test.yml).

0 commit comments

Comments
 (0)