To help our users get started with animations in Maya, we have recommend this short tutorial on exporting animations in the glTF format:
Be sure to subscribe to Mike's channel to get access to the next episodes on how to use your 3D animations in this web friendly format!