How do I security scan Gitlab Pages artifacts

Scan Gitlab Pages artifacts

I’m using Hugo to build a static website served via Gitlab Pages. I’ve enable SAST in CI/CD but It doesn’t seem to scan Pages source or built artifacts.

Specifically, the artifacts for the pages: step get put in ./public and have a lot of Javascript, etc. in them. I would really like to have these artifacts scanned. Is there a way to make this happen?

My project is if that helps