Skip to content

Commit

Permalink
ignore host key check
Browse files Browse the repository at this point in the history
Signed-off-by: Daxin Wang <[email protected]>
  • Loading branch information
Daxin Wang committed Jan 4, 2024
1 parent 758b9e5 commit 42241da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
cd public && tar -cvzf public.tar.gz *
scp -o StrictHostKeyChecking=no public.tar.gz "$WEBSITE_HOST":$WEBSITE_PATH/..
# Update the website
ssh "$WEBSITE_HOST" << eof
ssh -o StrictHostKeyChecking=no "$WEBSITE_HOST" << eof
echo "Removing the old files..."
cd $WEBSITE_PATH && rm -rf *
echo "Deploying the site..."
Expand Down

0 comments on commit 42241da

Please sign in to comment.