My Workflow

Hello, This is my participation for the actionshackathon. The idea of this action is to run every new day. with every run it will replace the quote with new one. let's take a look at source code.

12

here I create an python script that basically will fetch API request from specified url , in my case I love programming quotes but you can provide any type of things like pictures but sure you need to edit the script little bit to accept print images. The logic is 2 have 2 README one I called static and the other is the normal one that will be shown. The script will combine the static_readme with the new quote.

on the other hand is github workflow that will run at 0:0 UTC every day , and it's setup to use python3.8 , and in the end will push that changes.

Submission Category:

Wacky Wildcards

Links

thanks to skolakoda for providing quotes API

This post is also available on DEV.