Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
maxibor committed Nov 7, 2019
1 parent 39ffc12 commit e3fb29d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
A Github Action to publish your Python package to Anaconda repository.

### Example workflow

```yaml
name: Publish
name: publish_conda

on: [release]

Expand All @@ -13,9 +14,9 @@ jobs:
steps:
- uses: actions/checkout@master
- name: publish-to-conda
uses: m0nhawk/conda-package-publish-action@master
uses: maxibor/conda-package-publish-action@master
with:
subDir: '.'
AnacondaUsername: ${{ secrets.ANACONDA_PASSWORD }}
AnacondaPassword: ${{ secrets.ANACONDA_USERNAME }}
subDir: 'conda'
AnacondaToken: ${{ secrets.ANACONDA_TOKEN }}
```
Get an Anaconda token (with read and write API access) at anaconda.org/username/settings/access and add it to the Secrets of the Github repository as `ANACONDA_TOKEN`

0 comments on commit e3fb29d

Please sign in to comment.