Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit 2d61731

Browse files
committed
Add how-to create an anaconda token
1 parent 4cd925c commit 2d61731

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

docs/user/how-to/conda.rst

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Creating an Anaconda Token
2+
==========================
3+
4+
To publish your package on Anaconda.org requires an Anaconda account and for GitHub
5+
Actions to have an Anaconda token authorizing access to that account.
6+
7+
8+
The simplest approach is to set up an token that is scoped to your Anaconda account
9+
and add it to the secrets for your GitHub Organization (or user). This means
10+
that all new projects created in the Organization will automatically gain
11+
permission to publish to Anaconda.org.
12+
13+
If you do not already have a Anaconda account use this link: create_account_.
14+
You may wish to additionally create an organisation, using this link: create_organisation_.
15+
16+
To learn how to create a token see: creating_a_token_.
17+
To learn how to add this token to a github repository see: creating_a_secret_.
18+
Note that skeleton uses ``ANACONDA_TOKEN`` as the secret name.
19+
20+
.. _create_account: https://anaconda.org/account/register
21+
.. _create_organisation: https://anaconda.org/garryod/organizations
22+
.. _creating_a_token: https://docs.anaconda.com/anacondaorg/user-guide/tasks/work-with-accounts/#creating-access-tokens
23+
.. _creating_a_secret: https://docs.github.com/en/actions/security-guides/encrypted-secrets#creating-encrypted-secrets-for-a-repository

docs/user/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ side-bar.
3030
how-to/existing
3131
how-to/update
3232
how-to/excalidraw
33-
how-to/pypi
33+
how-to/pypi
34+
how-to/conda
3435

3536
+++
3637

0 commit comments

Comments
 (0)