Deployment #70
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deployment | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
publish-conda-package: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Prepare | |
run: | | |
$CONDA/bin/conda install --quiet --yes conda-build anaconda-client | |
$CONDA/bin/conda config --append channels paulscherrerinstitute | |
$CONDA/bin/conda config --append channels conda-forge | |
- name: Build | |
run: | | |
$CONDA/bin/conda build --no-anaconda-upload conda-recipe | |
- name: Upload | |
env: | |
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} | |
run: | | |
$CONDA/bin/anaconda --token $ANACONDA_TOKEN upload $($CONDA/bin/conda build ./conda-recipe --output) |