Fixed the filename in the deploy script. Hopefully it now works now...

canary
WolverinDEV 2020-04-09 18:25:22 +02:00
parent b44874d8ae
commit 2ef80ef84f
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ ssh -oStrictHostKeyChecking=no -oIdentitiesOnly=yes -i /tmp/sftp_key TeaSpeak-Tr
echo "Failed to delete the old .zip files"
}
filename="$PACKAGES_DIRECTORY/TeaWeb-Release-$(git rev-parse --short HEAD)"
filename="TeaWeb-Release-$(git rev-parse --short HEAD).zip"
sftp -oStrictHostKeyChecking=no -oIdentitiesOnly=yes -i /tmp/sftp_key TeaSpeak-Travis-Web@dev.web.teaspeak.de << EOF
put $file tmp-upload/$filename
EOF