Skipping auto deploy

According to the documentation, it is possible to skip deployment with a commit message, but is there a way to do it by executing a command?

We have ./docs directory in root of the repository.
These change(or not) can be detectable by exit code of git diff --quiet HEAD^ HEAD ./docs.

Hi @ka2n, welcome to the Render community!

At the moment, we don’t have a way to specify a command to determine whether or not to skip the autodeploy, currently just the skip commit message. If you’d like to, you can add a feature request around this on our feedback board. Deploy hooks may also be another method that can give you more control over which commits trigger a deploy.