Use the nbconvert / jupyter-nbconvert CLI to converting IPYNB to HTML
$ NOTEBOOK=file_name.ipynb
$ jupyter-nbconvert --to html $NOTEBOOK
You can add tags to hide cells, eg. code or outputs which you do not want in shown in the HTML
$ jupyter-nbconvert \
--TagRemovePreprocessor.remove_cell_tags={\"hideall\"} \
--TagRemovePreprocessor.remove_input_tags={\"hide\"} \
--to html $NOTEBOOK