Skip to content

Commit

Permalink
use another marketplace action to do SSH
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
  • Loading branch information
frouioui committed Dec 19, 2023
1 parent dd402c6 commit 2739a7e
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@ jobs:
go-version: 1.21.5

- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
env:
SSH_OPTIONS: "test"
uses: fifsky/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
user: ${{ secrets.USERNAME }}
port: ${{ secrets.PORT }}
script: |
args: "-tt"
command: |
cd $HOME/vitess-bot
git reset --hard FETCH_HEAD
git clean -fd
Expand All @@ -34,4 +33,4 @@ jobs:
killall -9 vitess-bot
source ~/.profile
go build -o vitess-bot ./go
nohup ./vitess-bot &
nohup ./vitess-bot &

0 comments on commit 2739a7e

Please sign in to comment.