It would be nice if you could give a full example main.yml file for deploying via github actions. I spent about half an hour trying to properly indent and organize the various permissions. This is partly because I am dumb, but I bet other dumb people will read this too and also be confused.