In general Gibbs free energy is NOT constant. Gibbs free energy
can be translated into chemical potential and differences in
chemical potential are what drive changes - whether it be chemical
reactions, phase changes, diffusion, osmosis, heat exchange or some
other thermodynamic function.