Skip to content

Commit

Permalink
Refer to ssh config hosts in buildserver-upload.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raksooo committed Oct 9, 2023
1 parent c5945c0 commit 2aeac40
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ci/buildserver-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set -eu
shopt -s nullglob

CODE_SIGNING_KEY_FINGERPRINT="A1198702FC3E0A09A9AE5B75D5A1D4F266DE8DDF"
UPLOAD_SERVER="releases.mullvad.net"

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
UPLOAD_DIR="$SCRIPT_DIR/upload"
Expand All @@ -14,7 +13,7 @@ cd "$UPLOAD_DIR"
function rsync_upload {
local file=$1
local upload_dir=$2
rsync -av --mkpath --rsh='ssh -p 1122' "$file" "build@$UPLOAD_SERVER:$upload_dir/"
rsync -av --mkpath --rsh='ssh -p 1122' "$file" "upload-server-1:$upload_dir/"
}

while true; do
Expand Down

0 comments on commit 2aeac40

Please sign in to comment.