I want to deploy my streamlit app, however it needs to run a file daily that scrapes data, how to do it?

My app is a News article Summarization app.
It should perform 3 functions:
Step-1:Everyday at 7 am, it should scrape data from a news website, and summarize it. (when I run the python file that does this, it takes 30 minutes)
Step-2 (to be done after step 1)It should display the summarized articles.
Is there a way that I could schedule a python file that does Step 1 tasks everyday at 7 am?
Any guidance will be appreciated!

You could use GitHub Actions for this

1 Like