Schedule Python Scripts with GitHub Actions FOR FREE | Python Automation

  Рет қаралды 62,900

Patrick Loeber

Patrick Loeber

Күн бұрын

Пікірлер: 57
@Mutual_Information
@Mutual_Information 2 жыл бұрын
Wow I only recognized GitHub actions as a CD tool. Did not realize it can be on any automated basis. That changes things. Very cool.
@carlitosperez7306
@carlitosperez7306 Жыл бұрын
In case someone had same issues as me: 1. job not running: In the video he shows that the job is scheduled every 2 hours but in the repository code is actually set for every Monday, change code to run more often if you want to test it 2. error 128, saying can't connect to repo when doing the build: Go to "Settings" > "Actions" > "General" > and in "Workflow permissions" change to > "Read and write permissions" > then "Save" Hopefully it will work now, it does for me :)
@2544982009
@2544982009 2 жыл бұрын
I never thought I could use github actions for other tasks different from CI/CD this video was the spark for me to dig deeper into github actions, if you could do more videos on this topic it will be great. Thanks a lot.
@dipanshgirdhar8817
@dipanshgirdhar8817 2 жыл бұрын
I just love this tutorial. Perfectly paced and almost covers everything. Thanks. :)
@tech_savvy_guy
@tech_savvy_guy 2 жыл бұрын
This video is worthy of a billion views! Really helpful.
@infinity5503
@infinity5503 Жыл бұрын
With this new Github action discovery. 😂 I’m going to put my FTP server into casket for good which i used to run python code. Damn my manager was struggling with manual updating code in ftp server now i could just directly execute code here. ❤❤❤❤ This tutorial definitely made my day ❤❤
@nates3361
@nates3361 2 жыл бұрын
Great tutorial. I am going to use it to automatically update some dashboards I have. Are you using a custom theme for your terminal? It looks nice
@patloeber
@patloeber 2 жыл бұрын
iTerm2 with Dracula theme!
@shivampatil_5606
@shivampatil_5606 2 жыл бұрын
Really very nice and helpful I never thought we could run python scripts too 😅
@patloeber
@patloeber 2 жыл бұрын
Glad I could help!
@bozok1903
@bozok1903 2 жыл бұрын
This is a wonderful tutorial. Thank you very much. It's really going to be incredibly helpful to me.
@ewwitsantonio
@ewwitsantonio Жыл бұрын
Super helpful demonstration! Thanks so much!
@eyekey346
@eyekey346 2 жыл бұрын
Can you make a video about containerized scripts on remote servers? Specifically uploading them to servers and then updating them? Thanks!
@letstry5283
@letstry5283 2 жыл бұрын
Wow. This was really helpful, thanks a lot! I didn't know we could also use Python for GitHub actions, although I am more of a JS guy (I've made a few workflows in the past with it but config was hell)
@Tennisbull-match-statistics
@Tennisbull-match-statistics 2 жыл бұрын
Very cool. I think I’ll use it to purge the cloudflare cache via Api
@vsolyomi
@vsolyomi 2 жыл бұрын
So you run setup py and pip install every time? There's no caching or anything? I'm trying to implement similar thing with docker and dockerized action.
@mapneto
@mapneto 2 жыл бұрын
great tutorial! thank you a lot to share your knowledge 👏👏
@kevinz1991
@kevinz1991 2 жыл бұрын
Fantastic video! Thank you!
@msc06nkwzoe
@msc06nkwzoe 10 ай бұрын
Thanks a lot for the video!! may i ask a simple question ... how to start running the workflow? I have set up most of the thing according to the video , but it is not running...
@TweaksPH
@TweaksPH 23 күн бұрын
how about creating a sitemap generator? is it possible there since it needs server-side to create sitemap generator.
@acloudsecninja
@acloudsecninja 10 ай бұрын
Great Tutorial!
@lazymutt
@lazymutt 2 жыл бұрын
What a great tutorial! I couldn't seem to find your tweet-scraper repo, though. Is it still available?
@tomo4294
@tomo4294 2 жыл бұрын
Do you have a written tutorial for this?
@vinaykrishna9122
@vinaykrishna9122 2 жыл бұрын
interesting video and clear cut simple explanation
@danmelos
@danmelos 7 ай бұрын
Masterpiece. Thank you!
@nagalakshminkvenkatachalam4644
@nagalakshminkvenkatachalam4644 Жыл бұрын
could you please clarify the query...can we run python script automatically (every 10 minutes) to write data in Google sheets...
@tanjt107
@tanjt107 2 жыл бұрын
How can I interact with databases with Github actions? Do I need a cloud DB or a local ones also work?
@cooky123
@cooky123 2 жыл бұрын
there's a way to force the execution of the job from Github?
@stubbeee
@stubbeee Жыл бұрын
HI Patrick, thanks for a great tutorial. I was able to replicate everything you showed and I will be using this to run a Python script we use to tag orders in our Shopify site. My one question is around the secrets code in the actual python script. I need to use a secret to connect to the Shopify API and it is very clear to me how this will run when running as a GitHub action but since that secret doesn't exist locally I think it will fail when I am doing local testing. Have you done something like this before? My initial thought was to change the python code a bit to have it look for the secret in a config file held locally (that I don't sync use .git ignore) otherwise read from the environment variable. Any advice you can share here?
@champfisk5613
@champfisk5613 2 жыл бұрын
So this script is running from the GitHub side and not the local computer?
@mrblogge1
@mrblogge1 2 жыл бұрын
Will you tech encryption and decryption of python3 code
@issekisaji
@issekisaji Жыл бұрын
Is it possible to run colab notebook?
@alexandergarzo9415
@alexandergarzo9415 2 жыл бұрын
This is fire!
@gatzsandrofuertesosorio1140
@gatzsandrofuertesosorio1140 Жыл бұрын
Many thanks for your video, I have a question. I had an error and I checked on GitHub Actions that my action ran well until push changes. It says remote: Write access to repository not granted, code 128. In the video you said something about secrets.GITHUB_TOKEN. is this the reason of my error? Thanks in advance,
@manoharali455
@manoharali455 2 жыл бұрын
Very interesting 👌
@lolf390
@lolf390 Жыл бұрын
Can we run selenium headless?
@Kurumi.Zaphkiel
@Kurumi.Zaphkiel Жыл бұрын
My Action.yml doesn't seem to run at all?
@alexdin1565
@alexdin1565 Жыл бұрын
how we can use multiple github accounts at same computer
@0xtz_
@0xtz_ 2 жыл бұрын
Super cool 👌
@patloeber
@patloeber 2 жыл бұрын
Thank you!
@0xtz_
@0xtz_ 2 жыл бұрын
@@patloeber now I'm gonna try to automate some email tasks 😂 👌
@patloeber
@patloeber 2 жыл бұрын
Let me know if it worked!
@0xtz_
@0xtz_ 2 жыл бұрын
@@patloeber ofc
@sergiimarchuk6405
@sergiimarchuk6405 2 жыл бұрын
Thank you.
@Nawaho
@Nawaho Жыл бұрын
Hey, great stuff, thanks! But can someone explain to me what is the purpose of adding actions secret (SOME_SECRET)?
@staid3
@staid3 5 ай бұрын
Hi Nawaho, It enables Patrick to use his secret API key (like a password) even though all the code is public. It's like secretly storing the password/key. And, if I wanted to run this in my github account, I would need to make my own account with the website and get my own API key, and put that in my own secrets - which only I have access to. I hope this helps (even though this is an old question).
@joyjamsocial
@joyjamsocial Жыл бұрын
Legend!
@athakur33
@athakur33 2 жыл бұрын
Awesome 👍
@patloeber
@patloeber 2 жыл бұрын
Thanks 🤗
@Zaeemtechnical
@Zaeemtechnical 2 жыл бұрын
We can make free Proxy list that updates every 10 minutes, using actions...
@dotanerd
@dotanerd 5 ай бұрын
confused, where github token
@JohnWick-bb4lt
@JohnWick-bb4lt Жыл бұрын
wszystko za szybko, nie rozumiem co Ty robisz.
@larrykubin5987
@larrykubin5987 2 жыл бұрын
👍🐶
@derewigegaver747
@derewigegaver747 2 жыл бұрын
Dein Akzent triggert mich so hart Alter No offense
@chriskathumbi2292
@chriskathumbi2292 2 жыл бұрын
Would it be possible to provide input to the actions like passing attributes and methods as arbitrary arguments. eg: in dt.datetime.today() can I relpace 'datetime' or 'today()' with an argument after the period. like: dt.arg.today(), dt.datetime.arg with eval/exec it's possible but very unsafe eval(f"dt.{arg}.today()")
@0xDEAD_Inside
@0xDEAD_Inside 2 жыл бұрын
You can put your args in a json document in the same repo and read them with python. You can then change the args by commits. But don't store secrets there.
@techxest3791
@techxest3791 2 жыл бұрын
Thank you for such a useful and informative tutorial. Super helpful!
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 5 МЛН
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 11 МЛН
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,7 МЛН
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,2 МЛН
How GitHub Actions 10x my productivity
8:18
Beyond Fireship
Рет қаралды 442 М.
Learn Git - The Full Course
4:20:00
Boot dev
Рет қаралды 67 М.
Unit testing Python code using Pytest + GitHub Actions
23:02
Carberra
Рет қаралды 11 М.
GitHub Actions (Branch Protection, Automated Testing) - Full Tutorial
29:56
NixOS Setup Guide - Configuration / Home-Manager / Flakes
3:01:39
Matthias Benaets
Рет қаралды 234 М.
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 5 МЛН