mirror of https://github.com/rusefi/rusefi-1.git
14 lines
346 B
Bash
14 lines
346 B
Bash
#!/bin/bash
|
|
|
|
misc/actions/pinouts-create.sh
|
|
if [ $? -ne 0 ]; then
|
|
exit 1
|
|
fi
|
|
|
|
if [ -n "$RUSEFI_SSH_SERVER" ]; then
|
|
echo "Uploading Pinouts..."
|
|
tar -czf - pinouts | sshpass -p "$RUSEFI_SSH_PASS" ssh -o StrictHostKeyChecking=no "$RUSEFI_SSH_USER"@"$RUSEFI_SSH_SERVER" "tar -xzf - -C docs"
|
|
fi
|
|
[ $? -eq 0 ] || { echo "upload FAILED"; exit 1; }
|
|
|