How to setup a github action to deploy, relate?

I wrote up some here: Getting started with charm testing - #8 by erik-lonroth