diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4bfc72d..70b612c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 @@ -34,4 +33,4 @@ jobs: killall -9 vitess-bot source ~/.profile go build -o vitess-bot ./go - nohup ./vitess-bot & \ No newline at end of file + nohup ./vitess-bot &