Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 11 additions & 15 deletions docs/maintainer/conda_forge_yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,22 +241,18 @@ allowed here.

### channels

This represents the channels to grab packages from during builds and
which channels/labels to push to on anaconda.org after a package
has been built. The `channels` variable is a mapping with
`sources` and `targets`, as follows:

```yaml
channels:
# sources selects the channels to pull packages from, in order.
sources:
- conda-forge
- defaults
# targets is a list of 2-lists, where the first element is the
# channel to push to and the second element is the label on that channel
targets:
- ["conda-forge", "main"]
:::warning
This parameter has been deprecated. Instead, specify channels in `recipe/conda_build_config.yaml`
using `channel_sources` and `channel_targets`. Note that all channels go on a single
line because each line represents a build variant.

```yaml title="recipe/conda_build_config.yaml"
channel_sources:
- mysourcechannel1,mysourcechannel2,conda-forge,defaults
channel_targets:
- target_channel target_label
```
:::

<a id="choco"></a>

Expand Down