Skip to content

Commit

Permalink
Fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alhdo committed Nov 14, 2023
1 parent bee4348 commit cb99104
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
ssh-add - <<< "$SSH_PRIV_KEY"
mkdir -p /home/runner/.ssh
echo "$SSH_KNOWN_HOST">>~/.ssh/known_hosts
scp -P ${SSH_PORT} ./dist/rport-pairing_Linux_x86_64.tar.gz ${SSH_USER}@${SSH_HOST}:/tmp
scp -P ${SSH_PORT} ./dist/rport-pairing_linux_x86_64.tar.gz ${SSH_USER}@${SSH_HOST}:/tmp
ssh -p ${SSH_PORT} -l ${SSH_USER} ${SSH_HOST} bash <<EOF
sudo tar -xzf /tmp/rport-pairing_Linux_x86_64.tar.gz -C /usr/local/bin rport-pairing
sudo tar -xzf /tmp/rport-pairing_linux_x86_64.tar.gz -C /usr/local/bin rport-pairing
sudo service rport-pairing restart
rm -f /tmp/rport-pairing_Linux_x86_64.tar.gz
EOF

0 comments on commit cb99104

Please sign in to comment.