# Deploy streamlit app locally using Github actions

**URL:** <https://discuss.streamlit.io/t/deploy-streamlit-app-locally-using-github-actions/43500>\
**Category:** Deployment\
**Created:** [May 18, 2023, 2:50pm UTC](https://discuss.streamlit.io/t/deploy-streamlit-app-locally-using-github-actions/43500 "2023-05-18T14:50:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohanad\_Ayman](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/mohanad_ayman/32/5477_2.png) [@Mohanad\_Ayman](https://discuss.streamlit.io/u/Mohanad_Ayman)\
**Post date:** [May 18, 2023, 2:50pm UTC](https://discuss.streamlit.io/t/deploy-streamlit-app-locally-using-github-actions/43500/1 "2023-05-18T14:50:14Z")

</div>

Dears,

I want to deploy a streamlit app locally , the app.py will be on a Github repo. Do I have to setup Github actions to rerun the app whenever there is a new commit. Or will streamlit automatically rerun whenever there is a new commit?

---

<div class="post-metadata">

**Author:** ![mathcatsand](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/mathcatsand/32/48006_2.png) [@mathcatsand](https://discuss.streamlit.io/u/mathcatsand)\
**Post date:** [May 21, 2023, 11:57pm UTC](https://discuss.streamlit.io/t/deploy-streamlit-app-locally-using-github-actions/43500/2 "2023-05-21T23:57:07Z")

</div>

I’m not sure I understand how you intend to run your app locally and set up GitHub actions. If you have Streamlit running (as a server) on some machine and then you change one of the source files on that machine, the app will update in real time without being restarted from `streamlit run app.py` (except for some configuration changes).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [November 17, 2023, 11:57pm UTC](https://discuss.streamlit.io/t/deploy-streamlit-app-locally-using-github-actions/43500/3 "2023-11-17T23:57:25Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
