Comic Agilè is a Danish comic about all things DevOps. Can we make Comicbot work with it?
Initially, there is no "order" to the comics, apart from their numbering scheme (today's comic is #172) so keeping track of which one's have already been fetched and posted, could pose a challenge. But maybe we can keep state in a counter backend?
I found CountAPI which could work - provided we are able to configure it with a persistent domain name for namespace creation. We just need to know the number of the last comic we fetched... So, we would get the value first, compare it to whatever is on the front page of Comic Agilè, and if it's newer, fetch the comic, then update the count API with it's new number. Easy as pie!
Or could it be done EVEN simpler? Can we keep track of values in Github Actions?
Comic Agilè is a Danish comic about all things DevOps. Can we make Comicbot work with it?
Initially, there is no "order" to the comics, apart from their numbering scheme (today's comic is #172) so keeping track of which one's have already been fetched and posted, could pose a challenge. But maybe we can keep state in a counter backend?
I found CountAPI which could work - provided we are able to configure it with a persistent domain name for namespace creation. We just need to know the number of the last comic we fetched... So, we would
getthe value first, compare it to whatever is on the front page of Comic Agilè, and if it's newer, fetch the comic, then update the count API with it's new number. Easy as pie!Or could it be done EVEN simpler? Can we keep track of values in Github Actions?