Skip to content

Commit 13b05ab

Browse files
committed
add the hostkey
1 parent 05ca722 commit 13b05ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,9 @@ jobs:
215215
else
216216
RELEASE_FOLDER=phplist
217217
fi
218+
echo ${{ secrets.SF_HOSTKEY }} >> ~/.ssh/known_hosts
218219
219-
sshpass -e sftp -o 'StrictHostKeyChecking no' -oBatchMode=no -b - ${{ secrets.SF_USERNAME }}@${{ secrets.SF_HOST }} << EOF
220+
sshpass -e sftp -oBatchMode=no -b - ${{ secrets.SF_USERNAME }}@${{ secrets.SF_HOST }} << EOF
220221
cd /home/frs/project/phplist/
221222
ls -l
222223
pwd

0 commit comments

Comments
 (0)