From e3fb29d8cd043942549a66a1075996bb9005aaff Mon Sep 17 00:00:00 2001 From: maxibor Date: Thu, 7 Nov 2019 11:50:52 +0100 Subject: [PATCH] update readme --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 416ba9b..331c25f 100644 --- a/README.md +++ b/README.md @@ -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] @@ -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` \ No newline at end of file