2024-02-12 09:39:06 +01:00
|
|
|
#!/bin/bash
|
2024-02-17 20:57:01 +01:00
|
|
|
if [ "$#" -ne 1 ]; then
|
|
|
|
echo "Usage: ./build-and-deploy.sh {target}"
|
|
|
|
echo "Script needs target hostname or ip as parameter"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2024-07-06 16:33:54 +02:00
|
|
|
./gradlew clean build jibBuildTar && scp app/build/github-release-bot.tar "$1":/opt/stacks/github-release-bot/
|