Let $M, N$ be smooth manifolds with $M$ orientable and compact. Let $\sigma$ be some volume form on $M$ and consider the set $\mathcal{M}$ of smooth maps from $M$ to $N$ in a fixed homotopy class. Now consider the group $G$ of volume-preserving diffeomorphisms on $M$. This group naturally acts on the whole space of smooth maps $C^{\infty}(M, N)$ by composition on the right.
My question is: can this action be restricted to $\mathcal{M}$? Clearly, it cannot if composition on the right does not preserve homotopy classes. If every volume-preserving diffeomorphism were homotopic to the identity, then the action would in fact preserve homotopy classes. However, I haven't been able to come up with a proof or a counterexample of this.