The mixed gravitational field equations have been recently introduced for codimension one foliated manifolds, e.g. stably causal and globally hyperbolic spacetimes. These Euler-Lagrange equations for the total mixed scalar curvature (as analog of Einstein-Hilbert action) involve a new kind of Ricci curvature (called the mixed Ricci curvature). In the work, we derive Euler-Lagrange equations of the action for any spacetime, in fact, for a pseudo-Riemannian manifold endowed with a non-degenerate distribution. The obtained equations are presented in the classical form of Einstein field equation with the new Ricci type curvature instead of Ricci curvature.