chris-lovejoy / YouTube-video-finder

A tool to intentionally discover valuable videos
MIT License
521 stars 94 forks source link

Automate with GitHub actions #3

Open TJMusiitwa opened 3 years ago

TJMusiitwa commented 3 years ago

Hey there Chris just read your blog post on Medium and or was quite interesting. You did raise that you are having issues trying to automatically run the script on AWS but may I raise a suggestion, you could happen to consider, using GitHub actions. If you are already hosting your code on GitHub you can take advantage of the actions,lots of benefits such as free 2000 minutes per month or are they unlimited for open source projects such as this one. Furthermore,you could save your API keys as environmental variables that are secure and not shared and further more the systems provided be it Linux or Mac can be configured to how you would use them on your local machine as well as caching your dependencies such that it can run fast.

I have used GitHub actions for 2 of my python projects albeit they were to run a script that fetches and cleans data from URL then updates the file, then run by a Plotly dashboard and I can comfortably say that they have continued to run without fail on a daily.

Awesome work again 👨🏾‍💻

FirePing32 commented 3 years ago

@chris-lovejoy I can make GitHub Actions for this. Python anywhere allows users to run scripts at a particular Time in a day....So it will automatically be triggered. Publishing to Python anywhere will be taken care by GH actions. Should I make a PR ?

chris-lovejoy commented 3 years ago

Hi @prakhargurunani sure, that would be great. Go for it and submit PR