Skip to content

Commit b3bc80f

Browse files
authored
CI: fix self-hosted conda upload
1 parent aa6cb2f commit b3bc80f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/conda_build_and_publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
if test ${{ matrix.os }} = windows; then choco install --no-progress rsync; fi
3838
echo '${{ secrets.STFC_SSH_KEY }}' > ./key
3939
chmod 600 ./key
40-
rsync -e 'ssh -o StrictHostKeyChecking=no -i ./key' -R dist/*/*.tar.bz2 '${{ secrets.STFC_SSH_HOST }}:${{ secrets.STFC_SSH_CONDA_DIR }}'
40+
cd dist
41+
rsync -e 'ssh -o StrictHostKeyChecking=no -i ./key' -R */*.tar.bz2 '${{ secrets.STFC_SSH_HOST }}:${{ secrets.STFC_SSH_CONDA_DIR }}'
4142
ssh -o StrictHostKeyChecking=no -i ./key ${{ secrets.STFC_SSH_HOST }} \
4243
'bash -lic "conda index --bz2 --zst --run-exports --channeldata --rss -n ccpi ${{ secrets.STFC_SSH_CONDA_DIR }}"'

0 commit comments

Comments
 (0)