Skip to content

Commit 9325dad

Browse files
committed
Update appleboy/ssh-action to v2, remove deprecated host_key_checking
1 parent a9177a8 commit 9325dad

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/deploy-beta.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: SSH and deploy
15-
uses: appleboy/ssh-action@v1.2.0
15+
uses: appleboy/ssh-action@v2
1616
with:
1717
host: ${{ secrets.SSH_HOST }}
1818
username: ${{ secrets.SSH_USER }}
1919
key: ${{ secrets.SSH_PRIVATE_KEY }}
2020
port: ${{ secrets.SSH_PORT || 22 }}
21-
host_key_checking: false
21+
script_stop: true
2222
script: |
2323
cd ${{ secrets.BETA_PATH }}
2424
cp .env /tmp/beta.env 2>/dev/null; cp port.txt /tmp/beta.port.txt 2>/dev/null

0 commit comments

Comments
 (0)