aboutsummaryrefslogtreecommitdiff
path: root/scripts/deploy-snapshot.sh
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-02-23 14:25:03 +0530
committerGitHub <noreply@github.com>2022-02-23 14:25:03 +0530
commitacc448ce740b3756c622daf35d7be8372e76cebb (patch)
treed826cfae39eea5c71104e5a13cd94eea1783e36b /scripts/deploy-snapshot.sh
parentf08ad35d2e26b3f222cca4f973a865bdd815eeb3 (diff)
Use explicit Gradle tasks to handle build artifact collection (#1745)
Diffstat (limited to 'scripts/deploy-snapshot.sh')
-rwxr-xr-xscripts/deploy-snapshot.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/deploy-snapshot.sh b/scripts/deploy-snapshot.sh
index 34acdc2e..0f10d9eb 100755
--- a/scripts/deploy-snapshot.sh
+++ b/scripts/deploy-snapshot.sh
@@ -11,8 +11,5 @@ mkdir -p "$SSHDIR"
echo "$ACTIONS_DEPLOY_KEY" > "$SSHDIR/key"
chmod 600 "$SSHDIR/key"
export SERVER_DEPLOY_STRING="$SSH_USERNAME@$SERVER_ADDRESS:$SERVER_DESTINATION"
-mkdir -p "$GITHUB_WORKSPACE/APS"
-cp -v ./app/build/outputs/apk/free/release/*.apk "$GITHUB_WORKSPACE/APS/"
-cp -v ./app/build/outputs/apk/nonFree/release/*.apk "$GITHUB_WORKSPACE/APS/"
-cd "$GITHUB_WORKSPACE/APS"
+cd "$GITHUB_WORKSPACE/app/outputs/"
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"