GitHub actions to deploy LA

Hi All
I am new to Git Hub . I am learning Git Hub Actions to deploy Logic app on multiple enviornments or subscription. Once it is deployed to test enviornmet i need to run a test case, ie drop message on sFTP server, then trigger Logic app from git Hub actions. If it is successful then deploy to next enviornment.
I would appeciate if you can provide any material or links to acheive automation
Regards
Anagh