Fixes for the amplicon notebook (#317) (#318) #5
Workflow file for this run
This file contains hidden or 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
| # .github/workflows/deploy.yml | |
| name: Deploy on Tag | |
| on: | |
| push: | |
| tags: | |
| - '*' # match any single-level tag | |
| - '*/*' # also match nested tag names like `releases/1.0.0` | |
| jobs: | |
| call-ci: | |
| uses: ./.github/workflows/ci.yml | |
| deploy_wo_prefix: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.9'] | |
| needs: call-ci | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: conda-incubator/setup-miniconda@v2 | |
| with: | |
| activate-environment: tester | |
| python-version: ${{ matrix.python-version }} | |
| channels: anaconda, conda-forge, bioconda, defaults | |
| auto-update-conda: true | |
| - name: Run deploy script | |
| shell: bash -l {0} | |
| run: | | |
| conda create --yes -n deploytest1 python=${{ matrix.python-version }} git | |
| conda activate deploytest1 | |
| bash ./deploy.sh -r "${{ github.repository }}" -t "${{ github.ref_name }}" | |
| deploy_w_prefix: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.9'] | |
| needs: call-ci | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: conda-incubator/setup-miniconda@v2 | |
| with: | |
| activate-environment: tester | |
| python-version: ${{ matrix.python-version }} | |
| channels: anaconda, conda-forge, bioconda, defaults | |
| auto-update-conda: true | |
| - name: Run deploy script | |
| shell: bash -l {0} | |
| run: | | |
| conda create --yes -n deploytest2 python=${{ matrix.python-version }} git jupyter notebook | |
| conda activate deploytest2 | |
| # without adding a dummy kernel, can't guarantee location exists | |
| python -m ipykernel install --name="dummy" --prefix="/home/runner/.local" | |
| bash ./deploy.sh -r "${{ github.repository }}" -t "${{ github.ref_name }}" -j "/home/runner/.local" -c "/home/runner" |