After about 10 commits of testing I made a solution: USE Hugo's resource generation to make a file called vars.js which contains the last time this was updated, then force the script tag to download the js file and then other function handles the updating of the footer
Problem now is that the time.Now function uses the time on the virtual machine which seems to be two hours ahead of me.
It should be fine as long as I don't update my site too late and someone decides to watch my website in that 3 hour period
At least it solved the github action having to update everything, so that's good :)
New post! The git hub action must have uploaded the entire website, again.
Just updated the home page and added some quiz results. Not sure why the entire website updated since nothing changed from the other sites
Thank you so much for the follow :D ! I'd say gru is more phantom/master thief than gentleman thief; The japanese title of despicable me also classifies him as a kaitou. The title being '怪盗グルーの月泥棒' ( kaitō gurū no tsuki dorobō ) it meaning something like Kaitou Gru's moon theft. And i think a thief sure needs masterful skills to steal the moon.
But the solution i did with Hugo may be the one I need. Instead of building a js file with the vars, I build a txt file with the update date and have javascript read it and update the footer date. The http request that gets said file is the one with the cache-busting