github: revert Debian deployment changes

This commit is contained in:
Harsh Shandilya 2021-10-04 14:11:41 +05:30
parent 9ec709a458
commit 9f8fd43e60
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 12 additions and 20 deletions

View file

@ -8,7 +8,6 @@ mkdir -p "$SSHDIR"
echo "$ACTIONS_DEPLOY_KEY" > "$SSHDIR/key"
chmod 600 "$SSHDIR/key"
mkdir -p "$GITHUB_WORKSPACE/Claw"
find . -type f -name '*.apk' -exec cp {} "$GITHUB_WORKSPACE/Claw/Claw.apk" \;
find . -type f -name '*.deb' -exec cp {} "$GITHUB_WORKSPACE/Claw/" \;
cp -v ./android/build/outputs/apk/release/android-release.apk "$GITHUB_WORKSPACE/Claw/Claw.apk"
cd "$GITHUB_WORKSPACE/Claw"
rsync -ahvcr --omit-dir-times --progress --delete --no-o --no-g -e "ssh -i $SSHDIR/key -o StrictHostKeyChecking=no -p $SSH_PORT" . "$SERVER_DEPLOY_STRING"