Use absolute path
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
decentral1se 2021-06-03 21:21:53 +02:00
parent 8f0fecb8c4
commit ea017832db
No known key found for this signature in database
GPG Key ID: 92DAD76BD9567B8A

View File

@ -2,6 +2,8 @@
set -e set -e
ABRA=/root/.local/bin/abra
PLUGIN_HOST=${PLUGIN_HOST:-git.autonomic.zone} PLUGIN_HOST=${PLUGIN_HOST:-git.autonomic.zone}
PLUGIN_PORT=${PLUGIN_PORT:-2222} PLUGIN_PORT=${PLUGIN_PORT:-2222}
@ -18,13 +20,13 @@ load_deploy_key() {
output_versions(){ output_versions(){
echo "--- start versions" echo "--- start versions"
abra version $ABRA version
echo "--- end versions" echo "--- end versions"
} }
run_abra_cmd() { run_abra_cmd() {
echo "--- start deploy ---" echo "--- start deploy ---"
abra --debug --no-prompt "$PLUGIN_COMMAND" $ABRA --debug --no-prompt "$PLUGIN_COMMAND"
echo "--- end deploy ---" echo "--- end deploy ---"
} }