-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75286aa
commit 5f0d625
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,14 +49,18 @@ jobs: | |
echo Wait for bastion tunnel to open | ||
az network bastion wait --created --name ${{ secrets.BASTION_NAME }} --resource-group ${{ secrets.RESOURCE_GROUP }} --debug | ||
- run: | | ||
sudo apt -y install rsync | ||
ARGS="-avh --delete" | ||
USERNAME=risa | ||
SERVER_DESTINATION=/home/risa/r-isa | ||
SSHPATH="$HOME/.ssh" | ||
rm -rf "$SSHPATH" | ||
mkdir "$SSHPATH" | ||
echo "$DEPLOY_KEY" > "$SSHPATH/key" | ||
chmod 600 "$SSHPATH/key" | ||
echo Upload new libraries | ||
FOLDER=build/install/risa/lib | ||
sh -c "rsync $ARGS $GITHUB_WORKSPACE/$FOLDER [email protected]:$SERVER_DESTINATION" | ||
sh -c "rsync $ARGS -e 'ssh -i $SSHPATH/key -o StrictHostKeyChecking=no -p 50022' $GITHUB_WORKSPACE/$FOLDER [email protected]:$SERVER_DESTINATION" | ||
echo Upload new binaries | ||
FOLDER=build/install/risa/bin | ||
|