Skip to content

Commit 960d0c3

Browse files
Add SSH command for deployment workflow
1 parent 7a91731 commit 960d0c3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
PORT: ${{ secrets.SERVER_PORT }}
3737
TARGET: ${{ secrets.SERVER_TARGET_PATH }}
3838
run: |
39+
ssh -v -o ConnectTimeout=5 -p $PORT $USERNAME@$HOST
3940
lftp -u $USERNAME,"$PASSWORD" sftp://$HOST:$PORT -e "
4041
set sftp:auto-confirm yes;
4142
mirror -R -v --delete _site/ $TARGET;

0 commit comments

Comments
 (0)