Azure Static Web Apps now provides the option to skip the default API builds via Github Actions. While setting up the YAML build configuration, you can now set the skip_api_build flag to true in order to skip building the APIs.
To learn more, visit: https://aka.ms/static-web-apps-skip-api-build.