Skip to content

Commit

Permalink
Skip the anaconda.org upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdill committed Nov 13, 2024
1 parent 4168386 commit e2a7e47
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,14 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
path: ./docs/build/html
- name: Upload to anaconda.org
env:
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
GITHUB_REF: ${{ github.ref }}
run: |
source $CONDA/bin/activate
[[ "$GITHUB_REF" =~ ^refs/tags/ ]] || export LABEL="--label dev"
anaconda --verbose --token $ANACONDA_TOKEN upload --user ctools $LABEL conda-bld/*/*.tar.bz2 --force
# - name: Upload to anaconda.org
# env:
# ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
# GITHUB_REF: ${{ github.ref }}
# run: |
# source $CONDA/bin/activate
# [[ "$GITHUB_REF" =~ ^refs/tags/ ]] || export LABEL="--label dev"
# anaconda --verbose --token $ANACONDA_TOKEN upload --user ctools $LABEL conda-bld/*/*.tar.bz2 --force

deploy:
needs: upload
Expand Down

0 comments on commit e2a7e47

Please sign in to comment.