If it helps, the site I’m working on has two functions right now: deploy-building.js
and submission-created.js
. The logs for submission-created
do work but deploy-building
does not. My expectation is that when I initiate a deployment, or an automatic deployment is triggered, deploy-building
should run, but I’m not sure if this is happening.
Edit: It turned out that my asynchronous things weren’t getting a chance to run before the function “completed.” I successfully got the function to wait for the asynchronous things to finish before returning a 200, and now I have logs and new problems.