Commit 6b7c1b7c authored by probal31's avatar probal31
Browse files

Check key with base64 encoding

parent 3fe5c81a
Pipeline #5791 failed with stages
in 13 minutes and 34 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 <(echo "$SSH_PRIVATE_KEY")
- ssh-add <(echo "$SSH_PRIVATE_KEY | base64 -d")
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
......@@ -101,16 +101,16 @@ cache:
mc cp communicator*${TARGET_ARCH}*.* nx/maui/$BUILD_TYPE/communicator/$BRANCH_COMMUNICATOR/ || true;
mc cp station*${TARGET_ARCH}*.* nx/maui/$BUILD_TYPE/station/$BRANCH_STATION/ || true;
fi
- if [ "$BUILD_TYPE" = 'nightly' ]; then
sshpass -p "$NXOS_UPLOAD_PASS" scp buho*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/buho.AppImage || true;
sshpass -p "$NXOS_UPLOAD_PASS" scp clip*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/clip.AppImage || true;
sshpass -p "$NXOS_UPLOAD_PASS" scp communicator*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/communicator.AppImage || true;
sshpass -p "$NXOS_UPLOAD_PASS" scp index*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/index.AppImage || true;
sshpass -p "$NXOS_UPLOAD_PASS" scp nota*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/nota.AppImage || true;
sshpass -p "$NXOS_UPLOAD_PASS" scp pix*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/pix.AppImage || true;
sshpass -p "$NXOS_UPLOAD_PASS" scp shelf*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/shelf.AppImage || true;
sshpass -p "$NXOS_UPLOAD_PASS" scp station*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/station.AppImage || true;
sshpass -p "$NXOS_UPLOAD_PASS" scp vvave*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/vvave.AppImage || true;
- if [ "$BUILD_TYPE" = 'devel' ]; then
scp buho*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/buho.AppImage || true;
scp clip*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/clip.AppImage || true;
scp communicator*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/communicator.AppImage || true;
scp index*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/index.AppImage || true;
scp nota*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/nota.AppImage || true;
scp pix*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/pix.AppImage || true;
scp shelf*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/shelf.AppImage || true;
scp station*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/station.AppImage || true;
scp vvave*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/vvave.AppImage || true;
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