Commit b8098107 authored by probal31's avatar probal31
Browse files

Add identity file as parameter to scp

parent 388c6aee
Pipeline #5766 canceled with stages
in 13 minutes and 47 seconds
......@@ -42,7 +42,7 @@ cache:
- echo "Configure ssh agent"
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- ssh-add $SSH_PRIVATE_KEY
#- ssh-add $SSH_PRIVATE_KEY
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
......@@ -102,15 +102,15 @@ cache:
mc cp station*${TARGET_ARCH}*.* nx/maui/$BUILD_TYPE/station/$BRANCH_STATION/ || true;
fi
- if [ "$BUILD_TYPE" = 'devel' ]; then
scp buho*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/buho.AppImage
scp clip*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/clip.AppImage
scp communicator*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/communicator.AppImage
scp index*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/index.AppImage
scp nota*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/nota.AppImage
scp pix*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/pix.AppImage
scp shelf*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/shelf.AppImage
scp station*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/station.AppImage
scp vvave*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/vvave.AppImage
scp -i $SSH_PRIVATE_KEY buho*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/buho.AppImage
scp -i $SSH_PRIVATE_KEY clip*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/clip.AppImage
scp -i $SSH_PRIVATE_KEY communicator*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/communicator.AppImage
scp -i $SSH_PRIVATE_KEY index*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/index.AppImage
scp -i $SSH_PRIVATE_KEY nota*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/nota.AppImage
scp -i $SSH_PRIVATE_KEY pix*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/pix.AppImage
scp -i $SSH_PRIVATE_KEY shelf*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/shelf.AppImage
scp -i $SSH_PRIVATE_KEY station*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/station.AppImage
scp -i $SSH_PRIVATE_KEY vvave*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/vvave.AppImage
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment