Quick question about CI interaction and deploys from Github

Hiya @AlexanderNZ,

There are a lot of ways to mix GHActions and Netlify.

First off, you could run things in parallel - have GH running the test, and then polling for the deploy to complete (using our API - see [Support Guide] Understanding and using Netlify's API for omse more details), before returning a status and/or publishing the deploy.

Or, you could indeed deploy from github actions using our CLI (cf Get started with Netlify CLI | Netlify Docs) - I know there is some “published” action that does that - literally runs netlify deploy - but you could bake that into your own custom action pretty easily.

However, I can tell you that unless you configure github NOT to notify us, and instead have your ACTION notify us (probably through pre-configured buildhooks rather than in the automatic way: Build hooks | Netlify Docs) that we will NOT wait for anything except that notification to start your build here!

This article also has a lot of somewhat generic test patterns that may inspire:

Let us know what you come up with :slight_smile: