Skip to content

Commit

Permalink
test legacy scp
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyStegeman committed Jan 13, 2025
1 parent c9876ff commit 95e5eb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ jobs:
run: |
conda build -q conda-recipe
- name: Upload noarch conda package to NNPDF server
if: ${{ (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/')) && startsWith(matrix.os, 'ubuntu') }}
if: ${{ startsWith(matrix.os, 'ubuntu') && matrix.python-version=='3.12'}}
shell: bash -l {0}
run: |
KEY=$( mktemp )
echo "$NNPDF_SSH_KEY" | base64 --decode > "$KEY"
scp -i "$KEY" -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no\
scp -O -i "$KEY" -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no\
$CONDA_PREFIX/conda-bld/noarch/*.tar.bz2 \
[email protected]:~/packages/conda/noarch
- name: Build and upload sphinx documentation to NNPDF server
Expand Down

0 comments on commit 95e5eb8

Please sign in to comment.