I use github action to deploy my website to my server. The last ssh cmd is npm run start
. It will output ready - started server on http://localhost:4000
(Since i use Nextjs) finally but it seems that github doesn't know what did it mean and print :
2021/01/09 14:24:14 Error: command timeout
err: Run Command Timeout!
Although the website is successfully deployed, it shows that the Github action failed to execute. So how to tell github action that the job had done successfully?